Name |
Details |
Description |
Run the named REXX program. The named program must reside in a dataset identified by the SYSEXEC DD in the VP390 startup JCL. |
Parameters |
The first parameter is the name of the REXX program to run, followed by any parameters that are to be passed to the REXX program. Separate the program name from the program parameters with a vertical bar and separate the program parameters with white space. Up to 50 program parameters may be specified. Optionally, specify "maxsize=n" as the last parameter to limit then number of bytes of output that are returned. The default maxsize is 5000 bytes. |
Output |
The value of the REXX return statement will be sent as the output. Normally this will be one line, but multiple lines can be created by inserting carriage return (x'0A') characters into the value that is returned. |
Sample Command |
The following REXX program is saved as "TEST" in a SYSEXEC DD library:
Run the program with the parameters "111" and "222" with a maximum output of 6000 bytes. Note that the X2C('0A') function inserts a line break into the output:
|
Sample Output |
Input numbers: 111 222 sum is: 333 EOF |
---|