10. MODIFICATION › 10.1 Checklists › 10.1.13 Activate the CICS MRO Activity File (CICCMR)
10.1.13 Activate the CICS MRO Activity File (CICCMR)
The CICS MRO Activity File (CICCMR) is an optional file
created from the MRO segments in The Monitor's detail
transaction records. It provides MRO activity statistics by
APPLID. The CICCMR file can be voluminous if you have
defined a large number of MRO segments for The Monitor.
Therefore, to limit the DASD requirement of the CA MICS Data
Base, the CICCMR file is distributed as an inactive file. To
activate this file, follow the checklist provided below.
****************************************************
* *
* CHECKLIST 13 - ACTIVATE THE CICCMR FILE *
* *
****************************************************
___ 1. Save a copy of sharedprefix.MICS.GENLIB(CICGENIN) in
sharedprefix.MICS.LOCALMOD.CNTL for recovery
purposes.
___ 2. Modify sharedprefix.MICS.GENLIB(CICGENIN). Code the
following FILE statement for the CICCMR file if the
file will only be turned on in the DAYS and MONTHS
timespans.
FILE CMR 00 1 N E N Y N N N N CICS MRO Activity File
Code the following FILE statement for the CICCMR file
if the file will be turned on in the DETAIL, DAYS,
and MONTHS timespans:
FILE CMR 00 1 Y E N Y N N N N CICS MRO Activity File
___ 3. Submit the job in sharedprefix.MICS.CNTL(CICCGEN).
___ 4. To help reduce the volume of the CICCMR file, use the
_USRSCMR exit in prefix.MICS.USER.SOURCE(#CICEXIT) to
keep only those MRO segments that are of a critical
nature. One way to do this is by examining CMRAPPLD
for a specific APPLID value. If CMRAPPLD is not for
a region that should be kept in the data base, then
skip the record by setting the variable SKIP_REC to
1. This will prevent the observation from being
written to the CICCMR file.
For example :
MACRO _USRSCMR
IF CMRAPPLD=:'CIC1' THEN SKIP_REC=ONE;
%
___ 5. If the CICCMR file is being activated in the DETAIL
timespan, then make the following updates to the
_USRXCMR macro in prefix.MICS.SOURCE(#CICEXIT):
DATA &CICX..CICCMR00 (KEEP=%CMRFILE(OP=FILEOPTS,TS=DETAIL));
SET %%CMRMERG;
RUN;
___ 6. Review the definitions in prefix.MICS.PARMS(DBMODEL).
Modify the cycle retention number to match the file
status in each timespan. For example, at least one
cycle is retained for the DETAIL timespan for the
files you activated. See Section 7.3.10 of this
guide for details on DBMODEL definitions.
___ 7. Submit the job in prefix.MICS.CNTL(CYCLEGEN).