DADS Plus CICS batch job fails with DADSA406 CLASS NOT ON DADS01.
search cancel

DADS Plus CICS batch job fails with DADSA406 CLASS NOT ON DADS01.

book

Article ID: 400894

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

A DADS Plus for CICS batch job failed with error message DADSA406 CLASS NOT ON DADS01 DSN=DADS.CONTROL.FILE . The batch job failed with CONDITION CODE=024 when attempting to allocate CLASS TSTCLASS using parameters (A,C,TSTCLASS).


The failing DADS Plus for CICS batch job output is listed below.

CA-DADS/PLUS  04.00.00                        BATCH INTERFACE PROGRAM            DATE=XX/XX\XX
CURRENT JOB=ALLOCATE                    DSN=DADS.BATCH.DADSBIF.FILE        V3.00    
     
                        FUNCTION=DADS,APPLID=(TSTAPPLE,QUEUE)                                        
                        REQUEST=(A,C,TSTCLASS),OPTION=N    
                                         
          CONDITION CODE=024  DADSA406 CLASS NOT ON DADS01   DSN=DADS.CONTROL.FILE              
HIGH CONDITION CODE=024  

Environment

Z/OS

CICS

Cause

Class TSTCLASS was not defined in the DADS Plus control file DSN=DADS.CONTROL.FILE

Resolution

Print the contents of the DADS Plus for CICS control file and verify that TSTCLASS is not defined. 


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.  

Program DADBLIST provides a report of all information on the DADS Plus for CICS Control File. It is broken down into separate reports for files, DBDs, transient data queues, and classes. 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.

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