HFZModQry command

The HFZModQry command is used to obtain information about a named load module from a Z Abend Investigator REXX user exit. It can only be used in a Formatting user exit.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-HFZMODQRY--NAME--(--module_name--)--LP--(--var_name--)--+------------------------+-><
                                                           '-MODLEN--(--var_name--)-'   

where:
NAME(module_name)
The name of the module for which the load point, and optionally module length, are being requested.
LP(var_name)
The name of a REXX variable to hold the character format of the module load point.
MODLEN(var_name)
The name of a REXX variable to hold the character format of the hexadecimal module length. This value is optional.

Return codes

The HFZModQry command provides the following return codes:
0
Requested module found.
4
Requested module not found.
12
Syntax error.

Example

Figure 1. HFZModQry command example
/* REXX */

"HFZMODQRY NAME("HFZSCBL1") LP(addr) MODLEN(len)"
if rc = 0 then "note 'Module HFZSCBL1 at address" addr "length" len"'"