How to add a CLASS containing files to the CA DADS Plus for CICS control file using the batch utility program DADM? What is the syntax of the DADM utility when defining a CLASS to CA DADS Plus for CICS?

Document ID : KB000051433
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

You can add a CLASS to the CA DADS Plus for CICS control file using the CICS online facility or by using the batch utility program DADM.
If the CA DADS Plus control file is allocated to CICS you must close the control file before running the DADM utility program to perform the requested update.

Solution:

The following sample JCL creates a new class CLASSTST that contains five VSAM files.

The FCT names are FILE001, FILE002, FILE003, FILE004 and FILE005.

JOBCARD
//ADDCLASS EXEC PGM=DADM,REGION=1024K 
//STEPLIB DD DSN=DADSPL40.LOADLIB,DISP=SHR
//DADS01 DD DSN=DADSPL40.DADS01,DISP=SHR
//SYSPRINT DD SYSOUT=*,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133)
//SYSIN DD *
  ADDCLASS NAME(CLASSTST) -  
  MEMBERS(FILE001,FILE002,FILE003,FILE004,FILE005)
/*
//