Upgrading UPS Toolkit for i

Note:

  • @@ is the version number of the source/current version level (example: 10)
  • ### is the version number of the target/new version level (example: 20)
For clarity, you may wish to copy these instructions to a text editor and then perform a scan and replace for the above values before beginning the upgrade.

  1. Unzip the downloaded file to C:\temp (or the directory of your choice).
  2. Create the *SAVF to upload to on your IBM i:
    CRTSAVF FILE(QGPL/UPSTI###) AUT(*ALL)
  3. FTP the file UPSTI.SAVF from your PC to the IBM i. Open a DOS prompt (Start → Run → enter 'cmd' and hit enter). Type the following into the DOS prompt, replacing the IP address with that of your IBM i. When prompted, enter your IBM i username and password.
    1. ftp 123.456.789.123
    2. binary
    3. lcd c:\temp
    4. quote site namefmt 0
    5. cd QGPL
    6. put UPSTI.savf UPSTI###.savf
    7. quit
  4. Perform a full backup of your UPSTI library.
  5. Execute the following IBM i command to upgrade the UPSTI library (this is all one command):
    RSTOBJ OBJ(*ALL) SAVLIB(UPSTI) MBROPT(*ALL) ALWOBJDIF(*FILELVL *OWNER) OMITOBJ((LICP) (UPSACCT) (UPSCFG) (UPSUSER)) RSTLIB(UPSTI) DEV(*SAVF) SAVF(QGPL/UPSTI###)
  6. Execute the following IBM i command to restore updates to necessary files in the IFS (this is all one command):
    RST DEV('/QSYS.LIB/UPSTI.LIB/IFS.FILE') OBJ(('/ktprod/upsti' *INCLUDE '/ktprod/upsti')) CRTPRNDIR(*YES) PRNDIROWN(QSYS) ALWOBJDIF(*ALL)