Meant to reply to this and it slipped my mind.

Looking at code of mine -- not thought about since 2018 -- it *looks* like I 
assume Header, then General, then Control, then Program Objects, then Text 
Objects, in that order. I'm not saying that is the right way to do things but I 
can say that the code ran at multiple customers across multiple releases of 
z/OS without reported problems.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Pierre Fichaud
Sent: Friday, April 29, 2022 11:53 AM
To: [email protected]
Subject: MDB (message data block)

The macro IEAVM105 describes the various parts of the MDB.
The MDB can be composed of the header, general object, control program object 
and message text objects.
The header must be there and the general object is required.
The control program object and text objects are optional.

The macro doc states that 'The objects can be in any order within the MDB".
Does that mean that the general object may not be the first one ?
Surely the text objects must be in order as there is no data within the MDBT 
that indexes the text line ?

Thanks in advance, Pierre.

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to