be abbreviated as ‘MSGL’.

0

Disables the display of the HHC17503I and HHC17504I messages. This is the de-
fault, if not explicitely set through the MSGLEVEL parameter.

1

Enables the display of the HHC17503I and HHC17504I messages when a script
has finished:

HHC17503I REXX(package name) Exec/Script 'script name' RetRC(0)
HHC17504I REXX(package name) Exec/Script 'script name' RetValue'0'

MSGPREFIX

This is the keyword used to set the prefix for standard messages (issued through
‘say’). MSGPREFIX can be abbreviated as ‘MSGP’. There is no message prefix
set, unless exlicitely specified with the MSGPREFIX parameter.

msgprefix

Specifies the Rexx standard message prefix to be used. msgprefix can be any
string up to 9 characters. Embedded blanks are not allowed.

ERRPREFIX

This is the keyword used to set the prefix for error messages. ERRPREFIX can be
abbreviated as ‘ERRP’. There is no error prefix set, unless exlicitely specified with
the ERRPREFIX parameter.

errorprefix

Specifies the Rexx error message prefix to be used. errorprefix can be any string
up to 9 characters. Embedded blanks are not allowed.

MODE

This is the keyword used to specify the argument passing style to a Rexx script. If
not explicitely specified, MODE is set to command style (‘COMMAND’).

COMMAND

Specifies command style for passing arguments to a Rexx script. ‘COMMAND’ may
be abbreviated as ‘COM’.

SUBROUTINE

Specifies subroutine style for passing arguments to a Rexx script. ‘SUBROUTINE’
may be abbreviated as ‘SUB’.

ON

Activates the specified option.

OFF

Deactivates the specified option.

RESET

Given as an argument to one of the options of the Rexx command this will reset the
corresponding value to the default settings.

5.64.4 Examples

Example 1:

Enable ooRexx, set the filename extensions to be used to “.REXX” and “.REX” and set subroutine style
for passing arguments to the Rexx script.

REXX ENABLE OOREXX

REXX EXTENSIONS .REXX;.REX

REXX MODE SUBROUTINE

Example 2:

Enable Regina Rexx and set the search path for the Rexx scripts to “D:\MVS\SCRIPTS”, but disable the
search in the system path. Set the filename extensions to be used for the Rexx scripts to “.REXX”, “.REX”
and “.RX”.

Finally set the message and error prefixes to RXMSG and RXERR and enable displaying the HHC17503I
and HHC17504I messages after a Rexx script has been finished.

Use the default setting for the argument passing style.

REXX ENABLE REGINA

REXX PATH D:\MVS\SCRIPTS

REXX SYSPATH OFF

REXX EXTENSIONS .REXX;.REX;.RX

REXX MSGLEVEL 1

REXX MSGPREF RXMSG

REXX ERRPREF RXERR

Previous Page Next Page