How to add a CLASS containing files 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 CLASS to CA DADS Plus for CICS?
search cancel

How to add a CLASS containing files 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 CLASS to CA DADS Plus for CICS?

book

Article ID: 51433

calendar_today

Updated On:

Products

DADS Plus Telon Application Generator

Issue/Introduction

Description:

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

Solution:

The following sample JCL creates a new class CLASSTST that contains five VSAM files.

The FCT names are FILE001, FILE002, FILE003, FILE004 and FILE005.

JOBCARD
//ADDCLASS EXEC PGM=DADM,REGION=1024K 
//STEPLIB DD DSN=DADSPL40.LOADLIB,DISP=SHR
//DADS01 DD DSN=DADSPL40.DADS01,DISP=SHR
//SYSPRINT DD SYSOUT=*,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133)
//SYSIN DD *
  ADDCLASS NAME(CLASSTST) -  
  MEMBERS(FILE001,FILE002,FILE003,FILE004,FILE005)
/*
//

Environment

Release:
Component: DADSPL