How do you produce History Reports in CA ESP Workload Automation using archived data set(s)?
search cancel

How do you produce History Reports in CA ESP Workload Automation using archived data set(s)?

book

Article ID: 53580

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

How to produce History Reports in ESP WORKLOAD AUTOMATION using archived data set(s).

 

Environment

Release: All Releases
Component: ESP WORKLOAD AUTOMATION

Resolution

ESP WORKLOAD AUTOMATION can produce History Reports using either the active History file or any archived History data set. To produce a History Report using archived history data set, code the following report control statements:

SOLUTION 1: Will use a single archived data set for reporting. When the INPUT DATASET statement is used, the ESP WORKLOAD AUTOMATION History Report will read the data from the data set specified as INPUT.

REPORT
INPUT DATASET(ESP.ARCHIVED.HISTORY)
other report control statments
ENDR

SOLUTION 2: Another way is to code the following, referencing the DDNAME DISK. This method would use all the data sets concatenated under ddname DISK.

//STEP0005  EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//STEPLIB   DD   DSN=ESP.SSCPLINK,DISP=SHR
//DISK      DD   DSN=ESP.ARCHIVED.HISTORY.DISK1,
//                       DISP=(SHR),UNIT=SYSDA
/               DD   DSN=ESP.ARCHIVED.HISTORY.DISK2,
//                      DISP=(SHR),UNIT=SYSDA
//SYSPRINT  DD   SYSOUT=*
//SYSIN     DD   *
REPORT
INPUT FILE(DISK)
other report control statments
ENDR                   
//