Description:
You can add a FILE 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 batch utility program to perform the
requested update.
Solution:
The following sample JCL adds two files to the DADS01 control file.
The ADDFILE KEYWORD is outlined in the CA DADS Plus release 4.0 Users guide chapter 11.
The FCT names are FILE001 and FILE002.
//JOBCARD //JOBLIB DD DSN=DADSPL40.LOADLIB,DISP=SHR //DELETE EXEC PGM=DADM,REGION=700K //DADS01 DD DSN=CICS41.CONTROL,DISP=SHR //SYSPRINT DD SYSOUT=*,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133) //SYSIN DD * ADDFILE NAME(FILE001) DSNAME(TEST.FILE001) DISP(SHR) ADDFILE NAME(FILE002) DSNAME(TEST.FILE002) DISP(SHR) /* //