It is possible to add a CLASS to the DADS Plus for CICS control file using the CICS online facility or by using the batch utility program DADM. If the DADS Plus control file is allocated to CICS, first close the control file before running the DADM utility program to perform the requested update.
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)
/*