IDIModQry command

The IDIModQry command is used to obtain information about a named load module from a Fault Analyzer REXX user exit. It can only be used in a Formatting user exit.

Figure 1. Syntax

1  IDIMODQRY 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 IDIModQry command provides the following return codes:
0
Requested module found.
4
Requested module not found.
12
Syntax error.

Example

Figure 2. IDIModQry command example
/* REXX */

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