Previous Topic: Syntax DiagramNext Topic: YEXCMBRLST (Execute Member List)


Parameters

Parameter

Definition

Value and Description

RMTSYS

Remote system name to which or from which the files are transferred.

  • *INTNETADR: The INTNETADR parameter is prompted.
  • remote-system-name: Remote system name to which or from which the file transfer takes place.

INTNETADR

Internet address of the remote system to which or from which the file transfer takes place.

 

SCRIPT

The script containing the FTP statements to execute. Each script is defined as a member in the YSCRIPT file. This parameter is required.

  • *SELECT or *S: Script from the existing scripts in the selected YSCRIPT file.
  • script-name: Use an existing script in YSCRIPT.
    Possible library values are:
  • *LIBL: All libraries in the user and system portions of the job's library list are searched until the first match is found.
  • *CURLIB: The current library for the job is used to locate the YSCRIPT file.
  • library-name: Name of the library to be searched for the YSCRIPT file.

EDIT

Determines whether to edit the selected FTP session script prior to executing the batch FTP session. The FTP session script will be edited using Source Entry Utility (SEU).

  • *YES: Edit the FTP session script prior to executing the FTP session.
  • *NO: Execute the FTP session without editing the FTP session script.

 

LOG

Name of member in YSCRIPT where run-time messages from the executed FTP session are stored.

  • *JOB: A session log is created for this job in file YSCRIPT in the same library as the FTP session script.
  • *NONE: No permanent log file will be created.
  • session-log-name: Use the specified log.

DSPLOG

Determines whether to display the FTP session log after the FTP session has executed.

  • *NO: Do not display the FTP session log after the FTP session has ended
  • *YES: Display the FTP session log after the FTP session has ended.
  • *ERROR: Only display the FTP session log if it contains any FTP server replies that contain error reply codes.
  • *PRINT: Prints the FTP session log.

USER

Determines the user name and password to use when connecting to the remote system.

  • user-name/password: The user name and password are used to connect to the remote system.

PARMS

Specifies up to 9 substitution variables and related values that can be used in the specified script.

  • In addition to the &1 - &9 variables allowed, the special variables &U, &P, and &M are also allowed.
  • @1 - @9: These substitution variables can be used only once within a given execution of the command.

CCSID

ASCII coded character set identifier (CCSID) that is used for single-byte character set (SBCS) ASCII file transfers when the FTP TYPE mode is set to ASCII.

  • *DFT: The CCSID value 00819 (ISO 8859-1 8-bit ASCII) is used.
  • CCSID-value: The requested CCSID value is used.

TBLFTPOUT

Table object that is to be used to map all outgoing data in the FTP client. Outgoing data is mapped from EBCDIC to ASCII.

  • *CCSID: CCSID parameter used to determine outgoing mapping.
  • *DFT: CCSID parameter used to determine outgoing mapping:
    *LIBL: All libraries in the user and system portions of the job's library list are searched until the first match is found.
    *CURLIB: The current library for the job is searched.
    library-name: Name of the library to be searched.
  • outgoing-mapping-table: Table object to be used by the FTP client for mapping

TBLFTPIN

Table object that is to be used to map all incoming data in the FTP client. Incoming data is mapped from ASCII to EBCDIC.

  • *CCSID: CCSID parameter used to determine incoming mapping.
  • *DFT: CCSID parameter used to determine incoming mapping.
    *LIBL: All libraries in the user and system portions of the job's library list are searched until the first match is found.
    *CURLIB: The current library for the job is searched.
    library-name: Name of the library to be searched.
  • incoming-mapping-table: Table object to be used by the FTP client for mapping