RPG programming language" />
COPY files
Various COPY files are provided to assist with the writing of RPG application programs that use message queuing. There are three sets of COPY files:
- COPY files with names ending with the letter "G" are for use with programs that use static linkage. These files are initialized with the exceptions stated in Structures.
- COPY files with names ending with the letter "H" are for use with programs that use static linkage, but are not initialized.
- COPY files with names ending with the letter "R" are for use with programs that use dynamic linkage. These files are initialized with the exceptions stated in Structures.
The COPY files reside in QRPGLESRC in the QMQM library.
For each set of COPY files, there are two files containing named constants, and one file for each of the structures. The COPY files are summarized in Table 2.
Table 2. RPG COPY files Filename
(static linkage, initialized, CMQ*G)Filename
(static linkage, not initialized, CMQ*H)Filename (dynamic linkage, initialized, CMQ*R) Contents CMQBOG CMQBOH - Begin options structure CMQCDG CMQCDH CMQCDR Channel definition structure CMQCFBFG CMQCFBFH - PCF bit filter parameter CMQCFG - - Constants for PCF and events CMQCFBSG CMQCFBSH - PCF byte string CMQCFGRG CMQCFGRH - PCF group parameter CMQCFIFG CMQCFIFH - PCF integer filter parameter CMQCFHG CMQCFHH - PCF header CMQCFILG CMQCFILH - PCF integer list parameter structure CMQCFING CMQCFINH - PCF integer parameter structure CMQCFSFG CMQCFSFH - PCF string filter parameter CMQCFSLG CMQCFSLH - PCF string list parameter structure CMQCFSTG CMQCFSTH - PCF string parameter structure CMQCFXLG CMQCFXLH - PCF short name for CFIL64 CMQCFXNG CMQCFXNH - PCF short mame for CFIN64 CMQCIHG CMQCIHH - CICS information header structure CMQCNOG CMQCNOH - Connect options structure CMQCSPG CMQCSPH - Security parameters CMQCXPG CMQCXPH CMQCXPR Channel exit parameter structure CMQDHG CMQDHH CMQDHR Distribution header structure CMQDLHG CMQDLHH CMQDLHR Dead letter header structure CMQDXPG CMQDXPH CMQDXPR Data conversion exit parameter structure CMQEPHG CMQEPHH - Embedded PCF header structure CMQG - CMQR Named constants for main MQI CMQGMOG CMQGMOH CMQGMOR Get message options structure CMQIIHG CMQIIHH CMQIIHR IMS information header structure CMQMDEG CMQMDEH CMQMDER Message descriptor extension structure CMQMDG CMQMDH CMQMDR Message descriptor structure CMQMD1G CMQMD1H CMQMD1R Message descriptor structure version 1 CMQMD2G CMQMD2H - Message descriptor structure version 2 CMQODG CMQODH CMQODR Object descriptor structure CMQORG CMQORH CMQORR Object record structure CMQPMOG CMQPMOH CMQPMOR Put message options structure CMQPSG - - Constants for publish/subscribe CMQRFHG CMQRFHH - Rules and formatting header structure CMQRFH2G CMQRFH2H - Rules and formatting header 2 structure CMQRMHG CMQRMHH CMQRMHR Reference message header structure CMQRRG CMQRRH CMQRRR Response record structure CMQTMCG CMQTMCH CMQTMCR Trigger message structure (character format) CMQTMC2G CMQTMC2H CMQTMC2R Trigger message structure (character format) version 2 CMQTMG CMQTMH CMQTMR Trigger message structure CMQWIHG CMQWIHH - Work information header structure CMQXG - CMQXR Named constants for data conversion exit CMQXQHG CMQXQHH CMQXQHR Transmission queue header structure