How to activate and use CA Driver with CA 7
search cancel

How to activate and use CA Driver with CA 7

book

Article ID: 24952

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

The following is an example of how to activate and use CA Driver JCL automation with CA 7.

 

 

Environment

Release:
Component: 7

Resolution

Activation:

Must have //CARPROC DD in the CA 7 started task JCL pointing to the CA Driver PDS.

The job's DPROC must be in the //CARPROC DD PDS. 

The example:

The following variables are used:

 -------------------------------

 &C_YEAR(3,2)   - 2009 yyyy

                    ++

 -------------------------

 &C_DATE(1,2)   - 05/13/09 mm/dd/yy format

                  xx

 -------------------------

 &C_TIME        - 135257 hhmmss

++++++++++++++++++++++++++++++

Driver:

your.CA7.CARPROC(CARPROC1)

//CARPROC1  DPROC Q1DATE1=

//  DSET  Q1DATE1=D&C_YEAR(3,2).&C_DATE(1,2).&C_DATE(4,2)..T&C_TIME

//S500001   DD DSN=your.data.set.&Q1DATE1,

//             DISP=(NEW,CATLG,DELETE),

//             DATACLAS=PSF,

//             SPACE=(3000,(200,20),RLSE),

//             AVGREC=K,

//             DCB=(LRECL=3000)

..................................

JCL:

//STEP0010 EXEC PGM=IDBATCH,REGION=4M,

//             PARM='NOPRINT',

//             TIME=1440

//SYSIN     DD DISP=SHR,DSN=your.test.data

//*    CREATE OUTPUT FILE S500001 modified by Driver

//CALL EXEC CARPROC1

//*

........................................

The //CALL EXEC CARPROC1 - statement will be replaced by:

//S500001   DD DSN=your.data.set.D090513.T135257,

//             DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,

//             SPACE=(3000,(200,20),RLSE),DCB=(LRECL=3000)