1,025 pts.
 AS/400 command to retrieve and save files
I want to retrieve and save the file from AS400 to system hard disk. 1. How can i achieve this through System command prompt? 2. How can I achieve using AS400 Commands?

Software/Hardware used:
ASKED: April 13, 2009  11:50 AM
UPDATED: April 16, 2009  7:35 PM

Answer Wiki:
I'm not sure what you're asking. AS/400 files are always on the Hard Disk. Do you want to make another copy of that file - different lib or different name? then use CRTDUPOBJ or CPYF -create(*yes) to bring it back CPYF *Replace Do you want to make a compacted save file? then CRTSAVF and SavObj or SavLib (specify the savf) to "bring it back RstObj or RstLib (specify the savf) Phil ///////////////////////////////////////////////////////////// From your PC you could use FTP to get it from the 400 or From the AS/400 you could use FTP to PUT it on your PC or You could get it in Navigator or You could transfer it using Receive from the Host on Client Access Phil //////////////////////////// Do you want to be able to use the files on your PC or just have a back-up copy? The SAVF suggestion provides the back-up but must be restored to an AS/400 to be used. Phil
Last Wiki Answer Submitted:  April 16, 2009  7:35 pm  by  philpl1jb   44,190 pts.
All Answer Wiki Contributors:  philpl1jb   44,190 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I want to save the files in my local mchine harddisk ( windows environment)

 1,025 pts.

 

Create a save file using the CRTSAVF command.

Save your files using the SAVOBJ command, or libraries using the SAVLIB command, to device *SAVF and supply the name of your save file.

ftp the save file to your windows environment. The name of the AS/400 file to put/get will be of the form “libraryname/filename.SAVF.”

Good luck,

Leo Burkett

 830 pts.