PPA Command Format

You must follow the command format to perform post processing actions after file transfers.

The PPA command format is:

Post_Action<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:
  • S|F

    Defines if you want to run the action when the file transfer is successful or unsuccessful.

  • 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: Ensure no spaces are embedded in a PPA command. If one PPA parameter is used on the command line, the command definition goes into the next undefined PPA parameter.

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

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