CMRCMPWN batch decompression program
The following figure shows examples of both DD statements.
//S1 EXEC PGM=CMRCMPWN
//STEPLIB DD DSN=CMR.CMRV3.BBLINK,DISP=SHR
//CMRDETL DD DSN=CMR.CMRV3.CMRDETL,DISP=SHR <- IF INPUT=VSAM
//*TAPEIN DD DSN=....ARCHIVE.DATA,DISP=SHR <- IF INPUT=TAPE
//SYSUDUMP DD SYSOUT=*
//*
//* The following OUTPUT DD statement is the data set that contains
//* the output from this utility. No DCB information should be
//* coded in this DD statement. The DCB information is determined
//* by the utility based on the type of output being produced.
//*
//OUTPUT DD DSN=CMR.PROCESS.DATA,DISP=(,CATLG),SPACE=(TRK,(15,15)),
// UNIT=SYSDA
//SYSIN DD *
INPUT=VSAM
FORMAT=CMR
//STEPLIB DD DSN=CMR.CMRV3.BBLINK,DISP=SHR
//CMRDETL DD DSN=CMR.CMRV3.CMRDETL,DISP=SHR <- IF INPUT=VSAM
//*TAPEIN DD DSN=....ARCHIVE.DATA,DISP=SHR <- IF INPUT=TAPE
//SYSUDUMP DD SYSOUT=*
//*
//* The following OUTPUT DD statement is the data set that contains
//* the output from this utility. No DCB information should be
//* coded in this DD statement. The DCB information is determined
//* by the utility based on the type of output being produced.
//*
//OUTPUT DD DSN=CMR.PROCESS.DATA,DISP=(,CATLG),SPACE=(TRK,(15,15)),
// UNIT=SYSDA
//SYSIN DD *
INPUT=VSAM
FORMAT=CMR
Control statements follow the SYSIN DD statement in the job stream. Control statements are as follows:
- The FORMAT statement specifies the format of the decompressed record.
- FORMAT=CMR builds decompressed detail records that match the BMC AMI Ops Monitor for CICS format described by
- CMRQT6E for CMRCMPWN
- FORMAT=6.2 or 6.2Y builds CICS TS 6.2 SMF 110 records.
- FORMAT=6.1 or 6.1Y builds CICS TS 6.1 SMF 110 records.
- FORMAT=5.6 or 5.6Y builds CICS TS 5.6 SMF 110 records.
- FORMAT=5.5 or 5.5Y builds CICS TS 5.5 SMF 110 records
- FORMAT=5.4 or 5.4Y builds CICS TS 5.4 SMF 110 records
The date is formatted as ccyyddds where:
Value
Description
cc
Is the 2-digit century value (01 for 2000)
yy
Is the 2-digit year value
ddd
Is the 3-digit day value
s
Is a packed decimal sign value
If n.nY is specified. the date is formatted as yyyyddds where:
yyyy
Is the 4-digit year value
ddd
Is the 3-digit day value
s
Is a packed decimal sign value
- The INPUT control statement specifies the type of input data set holding the compressed CMRDETL records.
- INPUT=VSAM specifies that compressed records are stored on the current, active CMRDETL data set.
- INPUT=TAPE specifies that compressed records are archived to a tape data set.
- NEWAPPL specifies a 1- to 8-character alphanumeric name that identifies the APPLID placed in the SMF header portion of decompressed CMRDETL records. This value replaces existing APPLIDs of compressed input records. Decompressed records retain their existing APPLIDs if the NEWAPPL control statement is not specified.
- The SELECT control statement selects records to be decompressed by the name of the CICS region that produced the CMRDETL record. If the SELECT control statement is not specified, the first CICS ID encountered is used.
- SELECT=xxxxxxxx specifies a 1- to 8-character alphanumeric name of a CICS region.
- SELECT=* selects all input records.
- The COMPRESS control statement specifies to compress or not to compress the output SMF records when FORMAT=n.n is specified
- COMPRESS=YES specifies that the output SMF records will be compressed
- COMPRESS=NO (the default) specifies that the output SMF records will not be compressed
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*