If you don’t use FTP anymore (or if FTP has been blocked by your network team) the easiest technique is to upload your SAVF to your IBM i’s Integrated File System and then copy it direct into a *SAVF — using IBM I Access Client Solutions.
IBM i ACS > GENERAL > INTEGRATED FILE SYSTEM
You can click Integrated File System from the main screen or press the shortcut CTRL/I
Select the SAVF you want to upload from your download location on your PC (for example C:\download) and upload to your IFS folder (I suggest using /home/username – in this example I will be using /home/nick)
You can click ACTIONS > UPLOAD from the IF screen or press the shortcut CTRL/U
Select your SAVF on your PC and upload it:
Once uploaded you can use the CPY command to copy this uploaded SAVF into any IBM I *SAVF
This will convert it from PC format to IBM i format:
CPY OBJ(‘/home/username/savefilename.savf’) TOOBJ(‘/qsys.lib/mylib.lib/mysavf.file’) FROMCCSID(PCASCII) TOCCSID(37) REPLACE(YES)
Note the from obj is the exact file name of the upload it could be called anything. The file extension is not important.
Note that the to obj is the exact file name of the *SAVF you created. The file extension of .FILE is important
The FROMCCSID is PCASCII
The TOCCSID is the CCSID of your system
Check the SAVF contents
Now restore it and get on with the day with a cheeky grin…
IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.
Rational Developer for IBM i 9.6 Fixpack 7 is pretty pretty good
Funky IBM i Email Validation Program using SQL Regex
How to Update IBM i ACS Access Client Solutions
#IBMi Java – Avoiding the QSH “Press ENTER to end terminal session” message
Windows Setup for IBM i Developers
Use RDi to make RPGLE lowercase
I remember the IBM AS400
What is JSON_TABLE on IBM i?
Disable RPGLE ‘live parsing’ using Rational Developer (IBM RDi)