logoHow to Transfer Data to an AS/400 Save File

seperator

Home | Request a CD | Download Software

Once you have downloaded data to your PC, you must transfer the data to a save file on your AS/400. A save file is a special type of AS/400 file, used to transmit programs and other binary objects between machines.


If you already have Install Aid/400 on your PC, you're in luck:

  1. Just double-click on the downloaded file with the .sav extension.

  2.  When the Install Aid display appears, specify:

        QSECOFR for the user profile and

        Custom for install option.

  3. Change the other parameters as necessary and click Run.   The rest is automatic!

Remember, Install Aid works with both TCP/IP and APPC connections.  (APPC connections require Bug Busters' Remote Software Facility on the AS/400.)

Install Aid is free and can be used to transfer any save file from your PC to your AS/400.  Click here to download Install Aid now.


If your PC is connected to your AS/400 with TCP/IP and you don't have Install Aid on your PC, follow these steps to use FTP to transfer the data:

  1. Create a new save file on your AS/400 using the following command:

    CRTSAVF FILE(library/file_name) AUT(*ALL)

  2. Start the FTP client software on your PC and connect to the AS/400.

  3. Use the binary command to insure that transmissions are done in binary mode.

  4. Use the cd command to set the current library on the AS/400 to the library containing the save file you created.

  5. Use the put command to send the xxx.sav file from the PC to the save file you created on the AS/400.  When prompted, specify the qualified name of the PC file for "Local file".  Specify the qualified name of the AS/400 save file, in library_name.file_name format, for "Remote file".

 


If your PC is not connected to your AS/400 with TCP/IP and you don't have Install Aid on your PC, follow these steps to transfer the data:

  1. Create a new save file on your AS/400 using the following command:

    CRTSAVF FILE(library/file_name) AUT(*ALL)

  2. Create a new source file on your AS/400 using the following command:

    CRTSRCPF FILE(library_name/file_name) RCDLEN(540) MBR(member_name)

  3. Use your file transfer program to transfer the xxx.sav file from the PC to the new source file you created on the AS/400. Be sure to specify that no translation should be done, and that no file or member should be created.

  4. Use a simple RPG program to copy the data from the source file to the save file. Click here to view the source for such a program.



Top of Page | Home | Request a CD | Download Software