Specify initial values for fields
Specify the value to be used to initialize a field in a structure by coding the name of that field (without the prefix) as a parameter on the macro invocation, accompanied by the value required.
For example, to declare a message-descriptor structure with the MsgType field initialized with MQMT_REQUEST, and the ReplyToQ field initialized with the string "MY_REPLY_TO_QUEUE", use the following:MY_MQMD CMQMDA MSGTYPE=MQMT_REQUEST, X REPLYTOQ=MY_REPLY_TO_QUEUE
If you specify a named constant (equate) as a value on the macro invocation, use the CMQA macro to define the named constant. Do not enclose character string values in single quotation marks.
Parent topic: Structures