In order to produce a formatted report of the Dads Control File (DADS01), please refer to "Control File List – DADBLIST", section 13-8 in the CA DADS User Guide which describes the DADBLIST program. What is in this section follows:
Program DADBLIST provides a report of all information on the Advantage CADADS Plus Control File. It is broken down into separate reports for files, DBDs, transient data queues, and classes.
The FILE report will list all the files contained in the Advantage CA-DADS Plus system. The file type, DSNAME, disposition, alternate DSNAME, alternate file disposition, and specified options will be listed along with any associated classes, transactions, programs and automatic scheduling functions.
The DBD report will list all the DBDs contained in the Advantage CA-DADS Plus system. For each DBD, its associated DDNAMEs, DSNAMEs, and dispositions will be displayed. Additionally, specified options will be listed, along with any associated classes, transactions, programs, and automatic scheduling functions.
The TRANSIENT DATA QUEUE report will list all the transient data queues contained in the Advantage CA-DADS Plus system. Any attributes chosen for the queue will be displayed such as DSNAME, disposition, SYSOUT class, SYSOUT destination, DDNAME, and specified options. Any associated classes, transactions, programs and automatic scheduling functions will also be listed.
The CLASS report will list all the members of each class on the Control File and flag any errors it encounters. Any errors flagged require recovery using the class pointer recovery program, DADBPNTR. Any transactions, programs, and automatic scheduling functions will also be listed.
The input to DADBLIST is the Advantage CA-DADS Plus Control File and optionally SYSIN. SYSIN input can be used to limit the report. Any of the following statements can be entered, beginning in column 1:
ALL Files, DBDs and classes will be reported (default).
FILE Files only will be reported.
DBD DBDs only will be reported.
QUEUE Transient data queues only will be reported.
CLASS Classes only will be reported.
All reports are written to SYSPRINT.
Here is the JCL required to run the program:
//LIST EXEC PGM=DADBLIST,REGION=700K
//STEPLIB DD DSN=your.dadsplus.loadlib,DISP=SHR
//DADS01 DD DSN=your.dadsplus.control.file,DISP=SHR
//SYSPRINT DD SYSOUT=A,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133)
//SYSIN DD *
ALL
This JCL is also supplied in member DADBLIST in CAI.SAMPLIB.