Downloading an iSeries Source Member via FTP

To download an iSeries source member via FTP:
  1. Start the FTP file transfer:
    1. Go to the DOS prompt.
    2. Type FTP.
    3. Press Enter.
  2. Open an iSeries FTP connection:
    1. At the FTP> prompt, type open 25.25.25.25, where 25.25.25.25 is your IP address.
    2. Press Enter.
  3. When you get the iSeries log-in prompts, type your iSeries user ID and password to log in to the iSeries FTP server.
  4. Type the following command to download the PC source member, where qclsrc is your source file name, qgpl is the library, and testmbr is the member name:

    recv  qgpl/qclsrc.testmbr  c:\testmbr.clp

Uploading an AS/400 Source Member via FTP

To upload an iSeries source member via FTP:
  1. Create the AS/400 source file, where QCLSRC is your source file name and QGPL is the library:

    CRTSRCPF FILE(QGPL/QCLSRC) RCDLEN(132) 

  2. Start the FTP file transfer:
    1. Go to the DOS prompt.
    2. Type FTP.
    3. Press Enter.
  3. Open an iSeries FTP connection:
    1. At the FTP> prompt, type open 25.25.25.25, where 25.25.25.25 is your IP address.
    2. Press Enter.
  4. When you get the iSeries log-in prompts, type your iSeries user ID and password to log in to the iSeries FTP server.
  5. Type the following command to upload the PC source member, where c:\testmbr.clp is the PC file to upload, qclsrc is your source file name, qgpl is the library, and testmbr is the member name:

    send c:\testmbr.clp  qgpl/qclsrc.testmbr

  6. View the uploaded source member:
    1. Type STRPDM.
    2. Press Enter.
  7. From the iSeries Programming Development Manager (PDM) menu, type 3 to view the members contained in the source file.
  8. In Specify Members to Work With, type the source file name in File and the library in Library.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016