Creating an FTP partner DSN outbound for FTP server

  1. Select COMMUNICATION > Partner Management.
  2. Edit an FTP partner.
  3. In the DSN Outbound area, click New.
    A DSN named 'Unnamed DSN' is created.
  4. Specify the information in the General DSN Details dialog. The available fields depend on the selected connection type.
    DSN
    Specify a data set name. This way, the complete set of information can be assigned to a send request.
    Description
    Specify a description of the data set name.
  5. On the FTP tab, specify this information:
    FTP server (Provide File for Retrieval)
    Select this option to determine that the DSN is to act as an FTP client. The files are retrieved from an FTP server.
    Local FTP directory
    Specify the virtual path under which the files are provided on the integrated FTP server.
    Local FTP file name
    Specify a pattern for the remote file name under which it is stored on the FTP server. For this purpose, you can use these parameters.
    • $XTNUMBER: Unique sending number
    • $QENTRYID: Unique internal job number
    • $FREMDID: Reference to the external application placing the job
    • $FW_<column name from XRFILES>: Additional information from a received file.

      Example: If you specify $FW_VFILENAME the virtual filename of the received file is inserted when a received OFTP file is routed to this DSN.

    Minimum Transaction Security
    Select an option to determine if and how a successful file transfer is indicated.
    None The file is displayed by its 'local FTP filename'. When fully downloaded from the FTP client, the file is moved to the send archive.
    After Download Renamed to The file is made available under the temporary file name. After a successful transmission, the FTP client must rename the file to the file name specified here in order to indicate that it has been completely received. The remote station can thus recognize that the file has not been completely transferred, for example in the case of disconnections.
    Delete after Download To indicate that the file has been completely retrieved, the partner must delete it.
  6. On the Extended settings tab, specify this information:
    Conversion
    Specify the conversion to be performed by Exchange Services before transmission.
    These options are available: None, ASCII to EBCDIC, EBCDIC to ASCII.
    Individual Send Directory
    Select the check box and specify an individual send directory in the provided field.
    Archiving
    Select the check box and select Individual Archive Directory to specify the archive directory in the provided field.
  7. Click OK.