How to download the FENIX Software and/or PTFs to the AS/400

 

If you are downloading the entire FENIX software, the following should be taken into account before proceeding:

 

1.      The FENIX profile must exist and should be of programmer user class (USRCLS *PGMR);

 

2. The download file FenixSoft contains the entire FENIX library FENIX with the complete software which should be restored with the RSTLIB (restore library) command. The command RSTLIB automatically creates library.

 

3. Follow the user manual instructions for the initial installation of FENIX.

 

 

The entire software or  PTFs will be in a ZIP format. That is, with the zip extension (Eg. PTF01001.ZIP). These files may be downloaded to AS/400 as follows

 

1. Download the ZIP file to a folder on the PC. A binary file of the same name as the ZIP file will be found in the ZIP file (Eg. PTF01001.bin);

 

2. Extract the binary file to the windows folder;

 

3. Using the CRTSAVF command, create a save file of the same name on the AS/400, in library QGPL, as shown below.

 

                             Command Entry                           JAXWARD 

                                                          

 Type command, press Enter.

                                                

 =è CRTSAVF FILE(QGPL/PTF01001)                             _____________

___________________________________________________________________________

 

Creation of the save file in library QGPL on the AS/400

 

 

4. Open a DOS session on the PC. The following screen is shown:

 

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>

 

 

 

5. Using ftp, open a TCP/IP connection to the AS/400 as follows: ftp SSSSSSSS, where SSSSSSSS is the system name of the AS/400 or the IP address in the format ftp 128.0.2.1.

 

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS> ftp Jaxward

 

Connecting to the AS/400 by system name

 

 

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS> ftp 128.0.2.1

 

Connecting to the AS/400 by IP address

 

  1. Press the Enter key. The following will be displayed:

 

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)):

 

Connecting to the AS/400 by system name

 

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp 128.0.0.1

Connected to 128.0.0.1.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (128.0.0.1:(none)):

 

Connecting to the AS/400 by IP address

 


  1. Enter a valid AS/400 user name, press Enter, enter the user password and press Enter, again, to open a session on the AS/400 as shown below.

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)): mike

331 Enter password.

Password:

230 MIKE logged on.

ftp>

AS/400 connection established

 

  1. Enter the command (bin o) as follows to change the format of transfer to binary.

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)): mike

331 Enter password.

Password:

230 MIKE logged on.

ftp> bin 0

200 Representation type is binary IMAGE.

ftp>

Change of transfer format to binary

 

  1. Change the current AS/400 library to QGPL using the dos command 'cd' as follows (cd QGPL, Enter).

 

Microsoft(R) Windows 98

(C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)): mike

331 Enter password.

Password:

230 MIKE logged on.

ftp> bin 0

200 Representation type is binary IMAGE.

ftp> cd qgpl

250 "QGPL" is current library.

ftp>

Current library on AS/400 session changed to QGPL

 

 

  1. Using the ftp 'put' command, copy the binary file (e.g. ptf01001.bin) from the windows directory to the save file previously created in library QGPL on the AS/400 like so (put ptf01001.bin ptf01001).

 

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)): mike

331 Enter password.

Password:

230 MIKE logged on.

ftp> bin 0

200 Representation type is binary IMAGE.

ftp> cd qgpl

250 "QGPL" is current library.

ftp> put ptf01001.bin ptf01001

200 PORT subcommand request successful.

150 Sending file to member PTF01001 in file PTF01001 in library QGPL.

250 File transfer completed successfully.

ftp: 536448 bytes sent in 1.04Seconds 515.82Kbytes/sec.

ftp>

Transferencia del fichero PTF (binario) al AS/400

 

Execution and termination messages will appear showing the transfer of the file across as shown above.

 

  1.  Finally, close the ftp session with the quit command as shown below.

 

Microsoft(R) Windows 98

   (C)Copyright Microsoft Corp 1981-1998.

 

C:\WINDOWS>ftp jaxward

Connected to JAXWARD.

220-QTCP at JAXWARD.

220 Connection will close if idle more than 5 minutes.

User (JAXWARD:(none)): mike

331 Enter password.

Password:

230 MIKE logged on.

ftp> bin 0

200 Representation type is binary IMAGE.

ftp> cd qgpl

250 "QGPL" is current library.

ftp> put ptf01001.bin ptf01001

200 PORT subcommand request successful.

150 Sending file to member PTF01001 in file PTF01001 in library QGPL.

250 File transfer completed successfully.

ftp: 536448 bytes sent in 1.04Seconds 515.82Kbytes/sec.

ftp> quit

 

C:\WINDOWS>

Terminación de sección ftp

 

 

  1.  Once the transfer has been successfully completed, the save file may be displayed in library QGPL using the AS/400 command DSPSAVF (Display Save File) as follows.

 

                             Command Entry                           JAXWARD 

                                                          

 Type command, press Enter.

                                                

 ===> DSPSAVF FILE(QGPL/PTF01001)                             _____________

___________________________________________________________________________

 

Displaying the save file in library QGPL on the AS/400

 


 

                       Display Saved Objects - Save File                     

                                                                             

Library saved  . . . :   FENIX                 Release level  . . . :   V4R1M0

ASP  . . . . . . . . :   1                     Data compressed  . . :   No   

Save file  . . . . . :   PTF01001              Objects displayed  . :   4    

  Library  . . . . . :     QGPL                Objects saved  . . . :   4    

Records  . . . . . . :   488                   Access paths . . . . :   0    

Save command . . . . :   SAVOBJ                                              

Save active  . . . . :   *NO                                                 

Save date/time . . . :   12/03/02   12:54:28                                 

                                                                              

Type options, press Enter.                                                   

  5=Display saved data base file members                                     

                                                                              

Opt  Object             Type     Attribute     Owner             Size   Data 

     SCL025CL           *PGM     CLP           FENIX            86016   YES  

     SCL116             *PGM     RPG           FENIX            81920   YES  

 _   SCLBKP             *FILE    PF            FENIX            16384   YES  

 _   SCL020             *FILE    PF            FENIX            49152   YES  

                                                                             

                                                                             

                                                                             

F3=Exit        F12=Cancel                                                     

Result of the Display Save File command on the AS/400

 

The above display shows the contents of the save file after the successful transfer of the downloaded software. This file should be restored into the FENIX library as per the instructions of each PTF or according to the user manual if the whole FENIX library is being restored.