Q:

I have to transfer few objects from my development server to production server using Save file

I have to transfer few objects from AS400 dev server to prod server.
There is a Logical file which I newly created and PF of this LF is available in production, So I don't need to transfer PF to production.
1) Using SAVOBJ I have copied the LF to save file, If I restore this LF in prod server, will it automatically point to the PF in production ? Or Do I need to recompile the source of LF in production to point to Prod PF ?
2) If I want to recompile the LF in production then how can I copy the source of LF to save file ?
3) I want to copy a new PF with data to save file. If I do SAVOBJ command will to copy the data as well with the object ?

A:

1) yes. My PF are in the same lib as my LF. I use SAVRSTOBJ in the same lib as the PF. It combines save on the source server and restore on the target server.  Use DSPDBR YOUR_PF to check your PF -> LF attachment.
2) You can transfer your source file with SAVRSTYOBJ too 
3) yes data are saved with the object

