Show TOC

Defining Operating System Commands Before/After ProcessingLocate this document in the navigation structure

Use

You can define operating system commands that are to be executed by the file/FTP adapter before and after message processing.

Procedure
  1. Enter the operating system command in Command Line.

    Default value: Empty string (no command)

    Note

    When the operating system command is called, you can specify the file name currently being processed with the following placeholders:

    %f(file name)

    %F (absolute file name including path)

  2. Under Timeout (secs), specify the maximum runtime of the command in seconds.

    When this time interval is exceeded, the adapter continues processing. The executable program continues to run in the background.

  3. If you want the adapter to terminate the program to be executed in the event of a timeout, select Terminate Program After Timeout.
Result

The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.

Message processing is independent of any errors that occur during the execution of a configured operating system command.