search cancel

CA WA ESP Setting up EXPLICIT data set triggers.

book

Article ID: 42172

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

 

Introduction: 

 

 

EXPLICIT data set triggering is used in cases where a SMF 14 or 15 record is not created.

EXPLICIT data set triggering can be defined at the EVENT or APPLication level, and is satisfied by running a batch job, or a page mode command.

 

Background:  

In some cases files are created on the mainframe that do not create SMF type 14 or 15 records.

 

Environment:  

CA Workload Automation ESP Edition r11.4

 

Instructions: 

 

The following 3 steps are needed to set up an EXPLICIT dataset trigger

 

1) Code init parm EXPDSTRG. This is optional since the default is NOVERIFY.  See the " CA WA ESP Initialization and Configuration Guide" for more options for the EXPDSTRG parameter.  

2) Create an event or Application that contains the DSTRIG xxx.yyy.zzz EXPLICIT statement.

3) Create a batch job to execute the ESPDST program. This program satisfies the explicit data set trigger. If a dataset is being created, then run the ESPDST program after the dataset is created.

 

1) Code init parm - The example below does not check to see if the person has access or if the file exists.

EXPDSTRG NOVERIFY 

 

2) Create an Event 

 

/*************************************************/

 /* DEFINED BY CYBUSER AT 14.30 ON MON 5MAY2016 */

 /*************************************************/

EVENT ID(CYBUSER.DSTRIG_EXPLICIT) SYSTEM(ESPS) REPLACE

SEND 'EXPLICIT DSTRIG WORKED' USER(CYBUSER)

DSTRIG ABC.DATA.SET(MEMBER1) EXPLICIT

ENDDEF

 

3) Create a batch job

//STEP2 EXEC PGM=ESPDST,COND=(0,LT),

// PARM='DSNAME(ABC.DATA.SET(MEMBER1)) SUBSYSTEM(ESPS)'

//STEPLIB DD DISP=SHR,DSN=CYBER.CD7YLOAD

 

Additional Information:

CA Workload Automation ESP Edition r11.4 Users Guide, section "How to Trigger an Event After Data Set Activity Without SMF Records"

 

Environment

Release: ENCWLA00200-11.4-Workload Automation-Restart Option-EE
Component: