COPY files
Various COPY files are provided to help you write COBOL application programs that use the MQI. There are two files containing named constants, and two files for each of the structures.
Each structure is provided in two forms: a form with initial values, and a form without:- Use the structures with initial values in the WORKING-STORAGE SECTION of a COBOL program; they are contained in COPY files with names suffixed with the letter V (for Values).
- Use the structures without initial values in the LINKAGE SECTION of a COBOL program; they are contained in COPY files with names suffixed with the letter L (for Linkage).
The COPY files are summarized in Table 1. Not all the files listed are available in all environments.
File (with initial values) | File (without initial values) | Contents |
---|---|---|
CMQAIRV | CMQAIRL | Authentication information record |
CMQBOV | CMQBOL | Begin options structure |
CMQCIHV | CMQCIHL | CICS information header structure |
CMQCNOV | CMQCNOL | Connect options structure |
CMQDHV | CMQDHL | Distribution header structure |
CMQDLHV | CMQDLHL | Dead letter header structure |
CMQDXPV | CMQDXPL | Data conversion exit parameter structure |
CMQGMOV | CMQGMOL | Get message options structure |
CMQIIHV | CMQIIHL | IMS information header structure |
CMQMDV | CMQMDL | Message descriptor structure |
CMQMDEV | CMQMDEL | Message descriptor extension structure |
CMQMD1V | CMQMD1L | Message descriptor structure version 1 |
CMQODV | CMQODL | Object descriptor structure |
CMQORV | CMQORL | Object record structure |
CMQPMOV | CMQPMOL | Put message options structure |
CMQRFHV | CMQRFHL | Rules and formatting header structure |
CMQRFH2V | CMQRFH2L | Rules and formatting header structure version 2 |
CMQRMHV | CMQRMHL | Reference message header structure |
CMQRRV | CMQRRL | Response record structure |
CMQSCOV | CMQSCOL | TLS configuration options |
CMQTMV | CMQTML | Trigger message structure |
CMQTMCV | CMQTMCL | Trigger message structure (character format) |
CMQTMC2V | CMQTMC2L | Trigger message structure (character format) version 2 |
CMQWIHV | CMQWIHL | Work information header structure |
CMQXQHV | CMQXQHL | Transmission queue header structure |
CMQV | - | Named constants for main MQI |
CMQXV | - | Named constants for data conversion exit |
CMQMD2V | CMQMD2L | Message descriptor structure version 2 |