Archived HISTORY files usage in CA ESP Workload Automation.
search cancel

Archived HISTORY files usage in CA ESP Workload Automation.

book

Article ID: 52268

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Description:

Running history reports using archived HISTORY data sets

Solution:

History reports can be created using archived history data sets. There are two ways to do this as shown below:

Instead of coding HISTFILE HIST1 or INPUT HIST1 in the history report sysin

  1. Code INPUT DATASET(dsname) where dsname is the data set name of the archived history data set.
    //STEP1     EXEC PGM=ESP,PARM='SUBSYS(ESP)'           //STEPLIB   DD   DSN=ESP.SSCPLINK,DISP=SHR     //SYSPRINT  DD   SYSOUT=*                      //SYSIN     DD   *                              REPORT                                          INPUT DATASET(ARCHIVED.HISTORY.FILE)                                 DISPLAY APPLSYS APPLGEN JOBNAME;   SORT APPLSYS APPLGEN;                          ENDR             
  2. Code INPUT FILE(ddname) where ddname refers to a DD statement coded in the history report JCL. This coding will allow concatenation of archived history data sets.

    //STEP1     EXEC PGM=ESP,PARM='SUBSYS(ESP)'            //STEPLIB   DD   DSN=ESP.SSCPLINK,DISP=SHR     //ARCHDS    DD   DSN=ARCHIVED.HISTORY.FILE1,DISP=SHR     //          DD   DSN=ARCHIVED.HISTORY.FILE2,DISP=SHR     //SYSPRINT  DD   SYSOUT=*                     /SYSIN      DD   *                              REPORT                                          INPUT FILE(ARCHDS)  DISPLAY APPLSYS APPLGEN JOBNAME;  SORT APPLSYS APPLGEN;                         ENDR            

Environment

Release:
Component: ESPWA