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

Document ID : KB000053580
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This Knowledge Document explains how to produce History Reports in CA ESP WA using archived data set(s).

Solution:

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

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

When the INPUT DATASET statement is used, the CA ESP WA History Report will read the data from the data set specified there.

Another way is to code the following:

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

The first method would use a single archived data set for reporting, while the second method would use all the data sets concatenated under ddname DISK.