Yes to the A,B, and C code system question. Most Fanuc controls are set to use system A.
In general terms, Fanuc programs are transportable across controls. There will be some differences with regards to OEM assigned M functions, but the programs will work without too much editing.
Of the two examples listed, sample 1.
If its an Oi control you have then its likely to have geometry offsets, and automatic coordinate system setting was available on these controls if they didn't have work shift offsets. If this is the case, use geometry offsets and work shift or automatic coordinate system setting instead of G50 for coordinate setting; its a lot safer than using G50 coordinate setting.
Regards,
Bill