IBM Support

DFH5182 when running DFHCOMDS after adding DEFINE commands to JCL

Question & Answer


Question

Why am I receiving unexpected messages like DFH5182 and DFH5102 after adding DEFINE commands to CICS job DFHCOMDS? I alter and run DFHISTAR with the appropriate installation information. The run of the job creates a generated DFHCOMDS job that is used to define a DFHCSD dataset using my high level qualifiers. I altered the generated DFHCOMDS job to add several DEFINE PROGRAM commands, just following the line containing the dataset name information for CEECCSDX. A LIST command was also added to a later step. The LIST command executes but the DEFINE commands are ignored. NOTE that without the LIST command added, there are no exceptions or messages produced. The DEFINE commands are simply ignored and not executed. Here is example JCL and messages produced with the LIST command added to help force messages:

        //         DD DISP=SHR,                                           @01C
         // DSN=DSN.SCEESAMP(CEECCSD)
         //        DD DISP=SHR,                                           @P6A
         // DSN=DSN.SCEESAMP(CEECCSDX)                                      @P6A
         //        DD *                                                   @01C
                   DEFINE PROGRAM(PROGRAM1) GROUP(MYGROUP)
                   DEFINE PROGRAM(PROGRAM2) GROUP(MYGROUP)
                   DEFINE PROGRAM(PROGRAM3) GROUP(MYGROUP)
          :
         .
         LIST  GROUP(MYGROUP)
         .        

These are the message that I'm getting:

    DFH5120 I PRIMARY CSD OPENED;  DDNAME: DFHCSD   - DSNAME:
    MY.CICSTS51.DFHCSD
    DFH5182 W GROUP MYGROUP DOES NOT EXIST.
    DFH5102 I WARNING MESSAGE(S) ISSUED WHILE PROCESSING LIST COMMAND.
    DFH5123 I PRIMARY CSD CLOSED;  DDNAME: DFHCSD   - DSNAME:
    MY.CICSTS51.DFHCSD

Answer

The "@P6A" support code on the right hand side of the line containing the DSN for CEECCSDX has shifted to the right causing a character to reside in column 72. The shifting of the support code to the right may be caused either by the expansion of the @sceesamp@ variable coded within the DFHISTAR JCL or by accidental inclusion of 'spaces' after the replaced @sceesamp@ variable within the generated DFHCOMDS job. With this character residing in column 72, the commands that were added are being ignored and causing the messages DFH5182W and DFH5102I.

The generated DFHCOMDS JCL created by DFHISTAR is meant to be run as-is without any modifications. If the generated JCL is altered to execute additional commands, then it is the responsibility of the person making the changes to make any and all necessary changes to allow the JCL to run successfully. In the scenario above, that would mean the "@P6A" support code would have to be shifted back to before column 72.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"Installation","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
17 July 2015

UID

dwa1202559