Upgrading Image Processor 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/IPI###) AUT(*ALL)
  3. FTP the file IPI.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 ipi.savf ipi###.savf
    7. quit
  4. Perform a full backup of your IPI library.
  5. Execute the following IBM i command to upgrade the IPI library (this is all one command):
    RSTOBJ OBJ(*ALL) SAVLIB(IPI) MBROPT(*ALL) ALWOBJDIF(*FILELVL *OWNER) OMITOBJ((LICP)) RSTLIB(IPI) DEV(*SAVF) SAVF(QGPL/IPI###)
  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/IPI.LIB/IFS.FILE') OBJ(('/krengeltech/gm' *INCLUDE '/ktprod/ipi/install')) CRTPRNDIR(*YES) PRNDIROWN(QSYS) ALWOBJDIF(*ALL)
  7. Execute the following IBM i command to enter the PASE shell to complete the installation:
    CALL QP2TERM
  8. In the PASE shell, issue the following commands. Note that these may take multiple minutes to execute, and that you may see messages which look like errors. You can safely ignore all messages.
    1. cd /ktprod/ipi/install
    2. sh pkg_setup.sh pkg_GraphicsMagick-Q16-1.3.20-1.lst
  9. In the PASE shell, run the following command. You should see a lot of output. If you receive a message indicating "command not found", please contact support.
    gm -version