CA Workload Automation ESP Edition

Expand all | Collapse all

Dynamic job failure report from ESP

  • 1.  Dynamic job failure report from ESP

    Posted 04-21-2020 11:15 AM
    Hi Team,

    I want to pull a report for all the failed jobs in ESP just similar to how we see all the failed jobs in CSF when Failed --> 'Y' is selected in CSF. May I please know the source of the view in CSF to pull the data to a report.

    Thanks,
    Jangi


  • 2.  RE: Dynamic job failure report from ESP

    Posted 04-21-2020 12:47 PM
    ​A quick and easy alternative is to use the LCSF command in Page Mode:

    LCSF (PNODE='FAIL') or (PNODE='SUBERROR')


    ------------------------------
    Senior Systems Analyst
    UPS
    ------------------------------



  • 3.  RE: Dynamic job failure report from ESP

    Posted 04-21-2020 01:10 PM
    May I know if we can have a batch report with applname, generation no., jobname, status, MaxRC details in a file.


  • 4.  RE: Dynamic job failure report from ESP

    Posted 04-21-2020 02:03 PM
    Hi,
    Below is a link to the reorting section.
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/using/create-reports.html

    Below is a link to the fields that are available. The "FAIL" may be what you are looking for.
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/using/create-reports/history-reporting-fields.html

    Below is an example. Bold items need to be modified for the environment.
    //STEP010 EXEC PGM=ESP,REGION=4M,PARM='SUBSYS(ESP)'
    //STEPLIB DD DSN=HLQ.CD7YLOAD,DISP=SHR
    //SYSPRINT DD DSN=HLQ.TEMP1,DISP=(NEW,CATLG,DELETE),
    // UNIT=SYSDA,SPACE=(CYL,(30,20),RLSE),
    // DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
    //SYSIN DD *
    REPORT
    SETWIDTH 133
    HISTFILE HIST1
    FROM 00.00.00 YESTERDAY UNTIL NOW
    CRITERIA JOBNAME EQ -;
    DISPLAY JOBNAME WOBTYPE JOBNO SUCC EXEJOBNO EXECSYS -
    ESPSUB DEXCP EXCP CPUTIME ASID CCFAIL
    SORT ENDDATE ENDT
    ENDR

    Don