rexx - Run REXX procedure

Synopsis

rexx [ -c cmdenv ] [ -t type ] path [ arg ... ]

Description

The rexx utility runs the REXX procedure specified by path with the specified arguments. For more information about programming with REXX, see the REXX information.

The REXX interpreter cannot read REXX commands from standard input. It can only run REXX procedures stored in members of database files in the QSYS.LIB file system. The interactive debug feature of the REXX interpreter is not supported by the rexx utility.

The program /QSYS.LIB/QSHELL.LIB/QZSHSHRX.PGM implements the Qshell command environment for REXX procedures. The Qshell command environment sets the REXX return code and condition as follows:

Options

-c cmdenv
Set the command environment program to process commands for the REXX procedure. If the option is not specified, the default value is command. The cmdenv can be one of the following values:
-t type
Control tracing for the REXX procedure. If the option is not specified, the default value is normal. The type can be one of the following values:

Operands

The path is the path name of the REXX procedure. On i5/OS(TM), a REXX procedure can only be stored in the QSYS.LIB file system.

Exit Status

Related information