CMRCOBCN (COBOL copybook) program - Documentation for MainView for CICS 6.7
The COBOL copybook contains the formats of the records held in the CMRDETL data set.
The CMRFREDN program passes the CMRDETL records to the calling COBOL program. The COBOL copybook is in BBSAMP member CMRCOBCN.
The CMRCOBCN defines three COBOL 01 data structures:
-
CMR-Control
-
CMRDETL
-
COPYRIGHT
The purpose of these data structures is explained in the following sections.
CMR–CONTROL
The CMR–CONTROL data structure passes control fields between the CMRFREDN program and the executing COBOL program. CMR–CONTROL contains the following fields:
CMRDETL
CMRDETL contains the COBOL-compatible definitions of the record fields. The COBOL versions of CMRDETL records use the same field names described in the MainView for CICS PERFORMANCE REPORTER Data Reference.
Note
Because of COBOL’s processing requirements, the definitions of the data types associated with the record fields vary from the descriptions given in the MainView for CICS PERFORMANCE REPORTER Data Reference.
COBOL CMRDETL field formats are as follows:
| Field | Format |
|---|---|
| Numeric | packed decimal |
| Time | seconds |
| TYPE | two bytes: 6D or 6E |
| T6EQUAL | two bytes, packed decimal |
COPYRIGHT
The COPYRIGHT data structure contains a copyright statement. The copyright also appears in the compiled COBOL object program.