Using DFHMNDUP to create dictionary records

Alternatively, you can write your own job to create dictionary records. The remainder of this section describes how to do this using the CICS-supplied monitoring dictionary utility program, DFHMNDUP, to write a dictionary record for a specific APPLID to a sequential data set. This discussion on DFHMNDUP is included for historical interest only. You do not need to do any of it, as CICSĀ® PA does it more appropriately.

Figure 1 shows an example of using the dictionary utility program to create a dictionary record for APPLID CICSPROD.
Figure 1. Sample job stream to run the DFHMNDUP utility
//MNDUPJOB JOB (Job Accounting)
//MNDUP    EXEC PGM=DFHMNDUP,REGION=0M
//STEPLIB  DD  DSN=CICS.SDFHLOAD,DISP=SHR
//SYSUT4   DD  DSN=userid.applid.MNDUPREC,DISP=(NEW,CATLG),
//             UNIT=SYSDA,SPACE=(TRK,(1,1))
//SYSPRINT DD  SYSOUT=A
//SYSUDUMP DD  SYSOUT=A
//SYSIN    DD  *
MCT=NO
SYSID=MVS1
GAPPLID=CICSPROD
SAPPLID=CICSPROD
/*
//
Note:
  1. In addition to the CICS library containing the DFHMNDUP program, the STEPLIB concatenation must also include the library that contains any monitoring control table (MCT) that you specify on the MCT parameter.
  2. The dictionary record is written to the data set specified by the SYSUT4 DD statement.
  3. You might decide to keep a permanent dictionary data set, one for each CICS region, to hold the dictionary record. Specify the DISP parameter according to whether the data set already exists, or a new one is to be created and cataloged.
  4. Control information for the DFHMNDUP program is provided in the SYSIN data set so that it can generate the correct dictionary record for the performance class data you are processing.