Non-discardable Messages (NDM) Interface Block

The contents of the NDM interface block are:

Field Offset Length Picture Description
NDMEYE X'00' 4 pic x(4) Eye catcher ( value = 'NDM').
NDMTRAN X'04' 8 pic x(8) Transaction that the application was processing when it abended. This transaction is associated with the input message pointed to by NDMMSGA.
NDMPSBN X'0C' 8 pic x(8) PSB associated with the application that abended.
NDMUSID X'14' 8 pic x(8) User ID.
NDMGRPNM X'1C' 8 pic x(8) Group name.
NDMUSIDI X'24' 1 pic x(1) Indicator for the contents of NDMUSID (v alue = ' U ' , meaning the contents is a user ID).
NDMSRCFL X'25' 1 pic x(1) comp-x Flag that indicates the origin of the input message (v alue = 0, meaning the origin is an LTERM).
NDMLTERM X'26' 8 pic x(8) Name of the originating LTERM.
X'2E' 110 Reserved.
NDMABEND X'9C' 4 pic s9(9) comp Abend code in system format 00sssuuu, where: sss = System abend code uuu = User abend code
NDMTSLCL X'A0' 8 Local time stamp of the arrival of the input message in the system. NDMTSLCL contains NDMDLCL and NDMTLCL.
NDMDLCL X'A0' 4 pic s9(7) comp-3 Local date that the message arrived, in format YYYYDDDf, where: YYYY = Year DDD = Julian day f = X'F'
NDMTLCL X'A4' 4 pic s9(7) comp-3 Local time that the message arrived, in format HHMMSSTf, where: HH = Hours MM = Minutes SS = Seconds T = Tenths of seconds f = X'F'
X'A8' 12 Reserved.
NDMSPAA X'B4' 4 pointer Address of the SPA if the transaction in NDMTRAN is a conversational transaction, otherwise this field contains zeros. If the SPA is present, the format is as follows: LL|ZZZZ|Trancode|Data, where: LL = Two-byte length field that includes the length of LLZZZZ ZZZZ = Four-byte field that always contains zeros Trancode = Eight-byte field that contains the transaction code for the conversation or blanks Data = SPA user data
NDMMSGA X'B8' 4 pointer Address of the input message. If this field is zero, there is no message segment and the message can be a SPA segment only. The format is as follows: LL|ZZ|Data, where: LL = Two-byte length field that includes the length of LLZZ ZZ = Two-byte field that always contains zeros except for the last segment which contains X'FFFF' Data = Message segment data For a multi-segment message, the pattern is: NDMMSGA = address of first segment NDMMSGA+LL 1 = address of second segment NDMMSGA+LL 1 +LL 2 = address of third segment Etc.
NDMMSGL X'BC' 4 pic s9(9) comp Total length of the input message.
X'C0' 20 Reserved.
NDMABRSN X'D4' 4 pic s9(9) comp Abend reason code (if available).
NDMTRNST X'D8' 4 pic s9(9) comp Transaction status flag. Enterprise Server examines this field on return from the exit routine. The exit routine can set this field to any one of the following values: Value = 1 means do not stop the abended transaction. Value = 2 means do not send the DFS555I message. Value = 3 means do not stop the abended transaction and do not send the DFS555I message.
NDMDEST X'DC' 8 pic x(8) Name of the alternate destination set by the exit routine to which the input message is to be queued. Enterprise Server only examines this field if you pass back return code 16, otherwise Enterprise Server ignores this field.