To add a FILE to the DADS Plus for CICS control file, use the CICS online facility or the batch utility program DADM.
If the DADS Plus control file is allocated to CICS, the control file must be closed before running the DADM batch utility program to perform the requested update.
Release: 4.0
Component: DADS Plus for CICS.
The following sample JCL adds two files to the DADS01 control file. The ADDFILE KEYWORD is outlined in the 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)
/*
//