Installing new versions of the PTF exit programs

This method uses FTP (File Transfer Protocol) to transfer the PTF exit programs from your PC to your system i. It is assumed that you have stored the zip file which your downloaded from the Internet on your PC and that you have enabled an FTP link between your PC and your system i.

Commands to be run on the system i are shown in

blue

and those to be run on the PC in

green

On your PC, create a directory for the PTF exit programs, e.g.:

md c:\PTFExitPgm

Save or copy the zip file that you downloaded or received into this directory.

On your PC, unzip the contents of the zip file into the directory you just created using pkunzip, WinZip, Norton UnZip etc.

On your system i, decide which library you wish to use for this procedure and create a save file in that library. The name of this save file should be PTFExitPgm, e.g.

crtsavf lib_name/PTFExitPgm

where:

lib_name

is the name of the library you chose to use.

On your PC, start an FTP session to your system i. You may use FTP packages such as CuteFTP or simply go to the DOS prompt and type:

ftp system_i_name

where:

system_i_name

is the name of your system i.

You will be prompted to enter your user id and password. Please ensure that you sign on with a user id that has adequate authority. We recommend that you sign on as the Security Officer QSECOFR.

Issue the following FTP commands within the FTP session:

binary

This command instructs FTP not to carry out any conversion on the data to be sent to the system i.

quote site na 0

This makes sure the system i is using naming format 0 (library naming). This is important if your FTP attributes (CHGFTPA command NAMEFMT parameter) have the initial naming format set to *PATH (IFS path naming) rather than *LIB (library/file.member naming).

cd lib_name

where:

lib_name

is the name of the library in which your created the save file in Step 3. This command makes lib_name your current library on the system i.

lcd dir_name

where:

dir_name

is the name of the directory on your PC in which you unzipped the install files earlier. This command makes dir_name your current directory on the PC.

put PTFExitPgm.sav PTFExitPgm

This command transmits the contents of the file PTFExitPgm.sav, which was earlier unzipped from 5CP0001.zip, and stores them in the save file called PTFExitPgm which you created earlier on your system i.

On your system i, ensure that the previous step worked by displaying the contents of save file PTFExitPgm:

dspsavf lib_name/PTFExitPgm

If you see the message (No records in save file) then something has gone wrong during the preceding steps. Try following them again. If you still cannot get this procedure to work, contact ariadne support.

On your system i, issue the following command to restore the PTF exit programs: