Return to the FTP Tips
FTP'ing a save file
After creating a save file on your source system and saving the library to it via the SAVLIB command you can FTP the save file to your target system as follows:
FTP TargetSystem (Target system will prompt for USER/PASSWORD) BIN namefmt 1 PUT /qsys.lib/A.lib/B.savf /qsys.lib/qtemp.lib/B.savf QUOTE RCMD RSTLIB SAVLIB(A) DEV(*SAVF) SAVF(QTEMP/B) CLOSE QUIT Where A = Library where save file exists on source system B = Name of save fileThe above FTP statements will copy the save file to your target system and restore the saved library from it. Make sure the library on the target system doesn't already exist unless you want to use an existing library.
[report a broken link by clicking here]