How do I add a new VSAM file 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 file to CA DADS Plus for CICS?
search cancel

How do I add a new VSAM file 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 file to CA DADS Plus for CICS?

book

Article ID: 54014

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

You can add files 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.

 

Environment

Z/OS 

CICS

Resolution

The File Allocation Definition Add menu below can be used to add a file to the CA DADS Plus for CICS control file.

APPLID XXXXXXXX                 CA-DADS/PLUS  4.0         DATE TIME
                         FILE ALLOCATION DEFINITION ADD
 
 
 
 COMMAND  ===>  A
 
     TYPE  ===>  F   NAME  ===>  FILE001
 DSORG => UNAV
 PRI-DSNAME ===> CA.DADSPLUS.FILE001_________________________    DISP ==> SHR
 ALT-DSNAME ===> ____________________________________________    DISP ==> ___
 ALLOC/OPEN AT COLD START    ===> N N   OPEN AFTER ONLINE ALLOC  ===> N
 ALLOC/OPEN AT WARM START    ===> N N   VSAM VERIFY AT START-UP  ===> N
 ALLOC/OPEN AT EMER RESTART  ===> N N   EFFECTIVE DATE(YYYY/DDD) ===> 0000/000
 ALLOCATE IF NOT IN FCT    ===> N
 LAST PROCESSED:
 CURRENT STATUS:  NOT-ALL NOTINFCT
 
 
 -------------------------------------------------------------------------------
 PF3-END    PF4-EXIT   PF6-CLASS  PF9-TRAN   PF10-PROG  PF11-AUTO

The DADM batch utility is outlined in the CA DADS Plus for CICS User Guide Chapter Batch Maintenance Dynamic Allocation.
Keywords not specified when using the DADM ADDFILE command are set to the default value as defined in the User Guide.

 //JOBCARD
//ADDFILE  EXEC PGM=DADM,REGION=700K 
//DADS01   DD DSN=DADS.CONTROL,DISP=SHR 
//SYSPRINT DD SYSOUT=*,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133) 
//SYSIN    DD * 
ADDFILE NAME(FILE001) DSNAME(CA.DADSPLUS.FILE001) DISP=SHR 
/*
//