Add a CLASS containing files to the DADS Plus for CICS control file using DADM
search cancel

Add a CLASS containing files to the DADS Plus for CICS control file using DADM

book

Article ID: 51433

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

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.

Resolution

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)
/*