CALL
Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.
Arguments
- PGM: Fully qualified path name to the executable to be called.
- NAME: Specify the name of a variable that is to receive The
standard output of the executable.
- INPUT: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.
- ARG1 - ARG30: Specify the data elements that are to be passed as
arguments to the called program.
Residuals
The named variable $[RETURNCODE] will contain the integer value
returned by the called executable file.
Examples
<call pgm="/usr/bin/wget" arg1="barant.com">