Upgrading CyberSource Toolkit for i
Note:
- @@ is the version number of the source/current version level (example: 20)
- ### is the version number of the target/new version level (example: 360)
- Unzip the downloaded file to C:\temp (or the directory of your choice).
- Create the *SAVF to upload to on your IBM i:
CRTSAVF FILE(QGPL/CTI###) AUT(*ALL)
- FTP the file CTI.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.
ftp 123.456.789.123
binary
lcd c:\temp
quote site namefmt 0
cd QGPL
put CTI.savf CTI###.savf
quit
- Perform a full backup of your CTI library.
- Execute the following IBM i command to upgrade the CTI library (this is all one command):
RSTOBJ OBJ(*ALL) SAVLIB(CTI) MBROPT(*ALL) ALWOBJDIF(*FILELVL *OWNER) OMITOBJ((LICP) (CTICFGENV) (CTICFGMCH) (CTICFGRPT) (CTIUNQ)) RSTLIB(CTI) DEV(*SAVF) SAVF(QGPL/CTI###)
- Execute the following steps if you are upgrading to CTI version 3.5.0 or later from a version previous to 3.5.0:
- Rename your current CTICFGMCH file:
RNMOBJ OBJ(CTI/CTICFGMCH) OBJTYPE(*FILE) NEWOBJ(OLDCFGMCH)
- Rename your current CTICFGENV file:
RNMOBJ OBJ(CTI/CTICFGENV) OBJTYPE(*FILE) NEWOBJ(OLDCFGENV)
- Restore the new CTICFGMCH file to your CTI library:
RSTOBJ OBJ(CTICFGMCH) SAVLIB(CTI) MBROPT(*ALL) ALWOBJDIF(*FILELVL *OWNER) RSTLIB(CTI) DEV(*SAVF) SAVF(QGPL/CTI###)
- Restore the new CTICFGENV file to your CTI library:
RSTOBJ OBJ(CTICFGENV) SAVLIB(CTI) MBROPT(*ALL) ALWOBJDIF(*FILELVL *OWNER) RSTLIB(CTI) DEV(*SAVF) SAVF(QGPL/CTI###)
- Transfer your merchant information from OLDCFGMCH and OLDCFGENV to the new CTICFGMCH and CTICFGENV files. Once the information is transferred, you should remove OLDCFGMCH and OLDCFGENV.
- Rename your current CTICFGMCH file:
- Execute the following IBM i command to restore updates to necessary files in the IFS (this is all one command):
RST DEV('/QSYS.LIB/CTI.LIB/IFS.FILE') OBJ(('/ktprod/cti' *INCLUDE '/ktprod/cti')) CRTPRNDIR(*YES) PRNDIROWN(QSYS) ALWOBJDIF(*ALL)