Argument Substitution

You can pass transfer properties to the executable command as substitutable command line arguments.

You can enter any of the following listed argument names after the COMMAND entry in the configuration file.
Argument Name Data Substituted
&TYPE Send or Receive
&SOURCE Initiator or Responder
&STATUS Success or Failure
&RC Numeric return code (0 if successful)
&FILENAME or &DSN Local file name
&PROCESS Process name
&NODE Node name (or NODE if no node can be found)
&IPADDR IP address (or IPADDR if no IP address can be specified)
&TRN Local transaction number

In the following example, the file name and type of the transfer request are substituted for the &FILENAME and &TYPE arguments and passed to the executable as command-line arguments.

COMMAND=cmdfile.com &FILENAME &TYPE,