Creating the CICS messages data set, DFHCMACI job

You can use the DFHCMACI job to delete and recreate the CICS® messages data set DFHCMACD. This data set is used by the CICS messages facility (CICS-supplied transaction CMAC).

The DFHCMACI job comprises the following job steps:

  1. DELETE deletes any existing copies of the DFHCMACD data set.
  2. DEFINE defines the VSAM cluster for the CICS message data set dsindex.DFHCMACD, where dsindex is defined by the DSINFO parameter of DFHISTAR.
  3. CMACLOAD loads the CICS message data set with data from the CICS-supplied file, DFHCMACD, in the hlq.SDFHMSGS target library.

Defining the DFHCMACD file and associated CICS resources

You can use the CICS messages facility to provide the CICS messages and codes descriptions online. Before you can use this facility (to access the DFHCMACD data set), you must define the resources needed by the facility, and make them available to your CICS region.

The file DFHCMACD, managed by CICS file control, accesses the DFHCMACD data set. You must create a definition for this file in the CSD. The CICS-supplied definition for the DFHCMACD file and other resources that are needed by the CICS messages facility are in the CSD group DFHCMAC. The CICS startup procedure, DFHSTART, has a DD statement for the DFHCMACD file, but for dynamic allocation you should copy the supplied resource definition for the DFHCMACD file and add the DSNAME option.

To use the CICS messages facility in your CICS region, you must create your own CSD group lists to include the DFHCMAC group for the CICS messages facility and any other groups of resources that your CICS region needs. You must specify your new group lists on the GRPLIST system initialization parameter when you start up your CICS region. If the DFHLIST of resource groups are not included in your new group lists, you must specify DFHLIST on the GRPLIST system initialization parameter as well as your group lists. For example, GRPLIST=(DFHLIST,MYLIST,CICSHT# 1), where MYLIST and CICSHT# 1 are customer-created group lists.

You should specify the DFHCMAC group of resources for the CICS messages facility only in those CICS regions that need to use the facility; for example on some terminal-owning regions, but perhaps not on data-owning regions.

[[ Contents Previous Page | Next Page Index ]]