PPA Command Format

You must follow the following command format to perform preprocessing and postprocessing actions after file transfers.

The preprocessing action command format is:

PPA<number>="P,L|R,COMMAND|CALLJCL|CALLPGM|SUBMIT,command data"

The postprocessing action command format is:

PPA<number>="S|F,L|R,COMMAND|CALLJCL|CALLPGM|SUBMIT,command data"

Use a comma (,) to separate each of the following sections of a PPA command:

  • P|S||F

    P: Preprocessing

    S: Postprocessing on successful transfer

    F: Postprocessing on failed transfer

  • L|R

    Defines if you want to run the action in the local system (initiator) or in the remote system (responder).

  • COMMAND|CALLJCL|CALLPGM|SUBMIT

    Defines which action you want to run.

    Note: You can run CALLJCL, CALLPGM and SUBMIT if the remote system is mainframe; otherwise, you can only run COMMAND.

  • <command data>

    Defines the full path and file name of a command with associated parameters. This section is limited to 256 bytes.

Note: Spaces are allowed in PPA command data. Ensure that the entire PPA parameter is enclosed within quotation marks.

See the following command for an example of how to use PPA with an executable command:

ppa1="S,L,COMMAND,batchjob.exe"