Diagnostic Area

On the GXL1CTL (GXL4CTL) call, there is a diagnostic area where the z/OS XML parser places information that can be useful when debugging a failure or incorrect behavior in the parser. This area is mapped by macro GXLYXD. The diagnostic area contains the following fields:
XD_Eye
Eyecatcher GXLYXD
XD_Version
The z/OS XML parser version number.
XD_PAB
Address of Parser Anchor Block for this parse instance.
XD_InBuff
Address of current input buffer.
XD_InBuffOffset
Offset into input buffer where the z/OS XML parser stopped.
XD_OutBuff
Address of current output buffer.
XD_OutBuffOffset
Offset into output buffer where the last valid entry can be found.
XD_StorageRequested
Amount of storage that requested for request that failed.
XD_LastRC
Return code from the last call to GXP1PRS (GXP4PRS).
XD_LastRSN
Reason code from the last call to GXP1PRS (GXP4PRS).
XD_StorageRC
Return code from call to STORAGE.
XD_StorageRsn
Reason code from call to STORAGE.
XD_Iarv64Rc
Return code from call to IARV64.
XD_Iarv64Rsn
Reason code from call to IARV64.
XD_StorExitRc
Return code from storage exit.
XD_StorExitRsn
Reason code from storage exit.
XD_StorExitDiag
The diagnostic code from the storage exit.
XD_SymExitRc
Return code from symbol exit.
XD_SymExitDiag
The diagnostic code from symbol exit.
XD_SymbolLength
Length of the symbol which was rejected by the user symbol exit routine.
XD_IFA_RC
The return code from the request to run on a zAAP.
XD_EndOfDocRC
Return code from a finished parse.
XD_EndOfDocRSN
Reason code from a finished parse.
XD_MIN_OB
Minimum output buffer size required on next parser call.
XD_LastOutput
Output buffer area in PIMA containing enhanced error records.