Data Extractor Module Resolution Parameter Block

All input and output parameters reside in a single parameter block. The parameter block is mapped by the macro: CAZDXMRP, which resides in hlq.SCAZSAMP. The DSECT name is CAZDXMRP. All input parameter field names are prefixed with DEXMRI_ and all output parameter field names are prefixed with DEXMRO_.

The following table describes the input fields:
Table 1. Data Extractor Module Resolution Parameter Block Input Fields
Offset Name Type Length Value Description
0 DEXMRI_Input Word 0   Start of input data
0 DEXMRI_Eye Char 8 DEXMRPB_ Eye catcher
8 DEXMRI_Functn Byte 1   Function code
  DEXMRI_FRSV EQU 0 0 Reserved
  DEXMRI_FFirst EQU 0 4 Initialization or First function call
  DEXMRI_FMR EQU 0 8 Module Resolution Function call
  DEXMRI_FLast EQU 0 12 Termination or Last function call
9 DEXMRI_Versn Byte 1   Parameter block version
  DEXMRI_CVersn EQU 0 1 Current® version
A DEXMRI_PLen HWord 2 352 Length of the entire parameter block
C DEXMRI_Flags Byte 1   Flag byte
  DEXMRI_FLLock EQU 0 x’80’ Local Lock is held
C   Byte 1 Nulls Reserved
E DEXMRI_ContxtL HWord 2 4096 Length of exit’s context area
10 DEXMRI_Contxt@ Word 4   Address of exit’s context area
14 DEXMRI_StepPGM Byte 8   Job Step program name
1C   Word 4 Nulls Reserved
20 DEXMRI_Address Word 4   Sampled address (from PSW)
24 DEXMRI_TCB@ Word 4   Address of sampled TCB
28 DEMRI_ASID HWord 2   ASID of sampled address space
2A DEMRI_SASID HWord 2   ASID where address was sampled
2C   Byte 48 Nulls Reserved
5C          
The following table will describe the output fields which follow immediately after the input fields:
Table 2. Data Extractor Module Resolution Parameter Block Output Fields
Offset Name Type Length Value Description
5C DEXMRO_Output Word 0   Start of output data
5C DEXMRO_RC Byte 1   Return code
  DEXMRO_RCOK EQU 0 0 Success
  DEXMRO_RCNF EQU 0 4 Module not found
  DEXMRO_RCErr EQU 0 8 Error
  DEXMRO_RCSevr EQU EQU 0 16 Severe error
  DEXMRO_RCNCall EQU 0 20 Do not call this exit again
5D DEXMRO_RSN Byte 1   Reason code
  DEXMRO_RSOK EQU 0 0 Success
  DEXMRO_RSNI EQU 0 4 Exit not interested in Job Step
  DEXMRO_RSVersn EQU 0 8 Parameter block version mismatch
  DEXMRO_RSEye EQU 0 12 Parameter block eye catcher mismatch
  DEXMRO_RSCtxSz EQU 0 16 Context area too small
  DEXMRO_RSBPSz EQU 0 20 Parameter block size not equal
  DEXMRO_RSFunc EQU 0 24 Unknown function code
  DEXMRO_RSExit EQU 0 28 Error in exit (see DEXMRO_Msg)
5E   Byte 1 Nulls Reserved
Resolved Module Information
5F DEXMRO_Flag1 Byte 1   Flag byte
  DEXMRO_F1_MOD EQU 0 x’80’ Module data is an MVS™ module
  DEXMRO_F1_PTH EQU 0 x’40' Module data is a USS path name
60 DEXMRO_ModData Byte 0   Start of module data
60 DEXMRO_ModName Byte 8   Module name
68 DEXMRO_ModDDN Byte 8   DDName of loadlib (or nulls)
70 DEXMRO_ModDSN Byte 44   DSName of loadlib (or nulls)
           
60 DEXMRO_ModPTH@ Byte 4   Address of USS path name length prefix
9C   Word 4 Nulls Reserved
A0 DEXMRO_MStart@ Word 4   Starting address of module
A4 DEXMRO_MLen Word 4   Length of module
A8 DEXMRO_UTkn Byte 8   Module uniqueness token
B0   Byte 48 Nulls Reserved
E0 DEXMRO_MsgL Byte 1   Length of error message
E1 DEXMRO_Msg Byte 120   Error message
160