RESOLVER

Keyword to define who will resolve the script name.

When set to “ON” then the Hercules Rexx interface will resolve the script name and
issue appropriate messages in case the process fails. When set to “OFF” then the
script name will be passed as is to the Rexx interpreter.

For examples of the different behaviour of the EXEC command depending on the
RESOLVER settings please see the next section.

MSGLEVEL

This is the keyword for specifying the message level to be used. MSGLEVEL can
be abbreviated as ‘MSGL’.

0

Disables the display of the HHC17503I and HHC17504I messages when a script
has finished.

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’.

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’.

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.

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.

8.138.4 Examples

Example 1:

Display the current Rexx interpreter settings (defaults).

HHC00013I Herc command: 'rexx’

HHC17500I REXX(Regina) Rexx Path ( 0) -

HHC17500I REXX(Regina) Sys Path (18) - (ON)

HHC17500I REXX(Regina) Extensions( 9) - ;.REXX;.rexx;.REX;.rex;.CMD;.cmd;.RX;.rx

HHC17500I REXX(Regina) Resolver - (ON)

HHC17500I REXX(Regina) Msg Level - 0

HHC17500I REXX(Regina) Msg Prefix - (OFF)

HHC17500I REXX(Regina) Err Prefix - (OFF)

HHC17500I REXX(Regina) Mode - (Command)

HHC17500I REXX(Regina) REXX-Regina_3.6(MT) 5.00 31 Dec 2011

HHC17500I REXX(Regina) WIN64 FUNCTION Instore

Figure 253: REXX command (display interpreter settings)

Example 2:

Set the path for Rexx executables to “d:\mvs\conf” and “d:\mvs\rexx”.

HHC00013I Herc command: 'rexx paths d:\mvs\conf;d:\mvs\rexx’

HHC17500I REXX(Regina) Rexx Path ( 2) -d:\mvs\conf;d:\mvs\rexx

HHC17500I REXX(Regina) Sys Path (18) - (ON)

HHC17500I REXX(Regina) Extensions( 9) - ;.REXX;.rexx;.REX;.rex;.CMD;.cmd;.RX;.rx

HHC17500I REXX(Regina) Resolver - (ON)

HHC17500I REXX(Regina) Msg Level - 0

HHC17500I REXX(Regina) Msg Prefix - (OFF)

HHC17500I REXX(Regina) Err Prefix - (OFF)

HHC17500I REXX(Regina) Mode - (Command)

HHC17500I REXX(Regina) REXX-Regina_3.6(MT) 5.00 31 Dec 2011

HHC17500I REXX(Regina) WIN64 FUNCTION Instore

Figure 254: REXX command (set PATH)

Example 3:

Set the extensions for Rexx executables to “*.rexx” and “*.rex”.

HHC00013I Herc command: 'rexx suffixes .rexx;.rex’

HHC17500I REXX(Regina) Rexx Path ( 2) -d:\mvs\conf;d:\mvs\rexx

HHC17500I REXX(Regina) Sys Path (18) - (ON)

HHC17500I REXX(Regina) Extensions( 3) - ;.rexx;.rex

HHC17500I REXX(Regina) Resolver - (ON)

HHC17500I REXX(Regina) Msg Level - 0

HHC17500I REXX(Regina) Msg Prefix - (OFF)

HHC17500I REXX(Regina) Err Prefix - (OFF)

HHC17500I REXX(Regina) Mode - (Command)

Previous Page Next Page