WebSphere MQ for z/OS provides two assembler-language macros containing the
named constants, and one macro to generate each structure. They are
listed in Table 74 and installed in thlqual.SCSQMACS.
Table 74. System/390 assembler-language macros
| Macro | Contents |
|---|---|
| CMQA | Values of the return codes for the API calls
Constants for filling in the option fields Constants for each object attribute, used by the MQINQ and MQSET calls |
| CMQCFA | Additional named constants for events and PCF commands |
| CMQCIHA | CICS information-header structure |
| CMQDLHA | Definition of the MQDLH structure |
| CMQDXPA | Definition of the MQDXP structure |
| CMQGMOA | Definition of the MQGMO structure |
| CMQIIHA | Definition of the MQIIH structure |
| CMQMDA | Definition of the MQMD structure |
| CMQODA | Definition of the MQOD structure |
| CMQPMOA | Definition of the MQPMO structure |
| CMQRFHA | Definition of the MQRFH structure |
| CMQRFH2 | Definition of the MQRFH2 structure |
| CMQTMA | Definition of the MQTM structure |
| CMQTMC2A | Definition of the MQTMC2 structure |
| CMQWIHA | Work-information header structure |
| CMQXA | Constants for exits |
| CMQXPA | Definition of the MQXP structure |
| CMQXQHA | Definition of the MQXQH structure |
These macros are called using code like this:
MY_MQMD CMQMDA EXPIRY=0,MSGTYPE=MQMT_DATAGRAM