ESP Duplicate ESP1195W messages generated for single job failure

book

Article ID: 191811

calendar_today

Updated On:

Products

CA Workload Automation ESP Edition

Issue/Introduction

We are currently experiencing an issue whereby duplicate ESP1195W messages are being generated for single job failure.
We rely on these messages in order to generate auto incidents.

Below is an example of one of the jobs that consistently generates duplicate ESP1195W messages :
Note, below statements are set at global level  & are applicable for majority of applications.

NOTIFY ABEND FAILURE ROUTE(1) DESC(2)
CCCHK RC(1:4095) FAIL CONTINUE

Below is the job definition within the PROC :
JOB %$.ACRHCK4
  SUBAPPL $ACRSIML WAIT(ANY)
  DELAYSUB 16:00 TODAY
  RUN SAT SUN
  RUN HOLIDAY
  CCCHK RC(1:4) OK CONTINUE
  CCCHK RC(5:4095) FAIL CONTINUE
ENDJOB

Below is the extract from ESP STC log showing duplicate message :
16.00.04 STC02115 *ESP1195W Job SACRHCK4(JOB12754) FAILED, CMPC=CCFAIL AT 16.00.04 ON 10 MAY 2020, APPL MAST6DAY.4958
16.00.04 STC02115 *ESP1195W Job SACRHCK4(JOB12754) FAILED, CMPC=CCFAIL AT 16.00.04 ON 10 MAY 2020, APPL MAST6DAY.4958

Attached is the job output.

                        J E S 2  J O B  L O G  --  S Y S T E M  M V S P  --  N O

                                                                               

16.00.01 JOB12754 ---- SUNDAY,    10 MAY 2020 ----                             

16.00.01 JOB12754  IRR010I  USERID STCESPP  IS ASSIGNED TO THIS JOB.           

16.00.01 JOB12754  IEF677I WARNING MESSAGE(S) FOR JOB SACRHCK4 ISSUED          

16.00.01 JOB12754  ICH70001I STCESPP  LAST ACCESS AT 16:00:01 ON SUNDAY, MAY 10,

16.00.01 JOB12754  $HASP373 SACRHCK4 STARTED - INIT 003  - CLASS P        - SYS

16.00.01 JOB12754  IEF403I SACRHCK4 - STARTED - TIME=16.00.01                  

16.00.01 JOB12754  -                                      -----TIMINGS (MINS.)--

16.00.01 JOB12754  -STEPNAME PROCSTEP    RC   EXCP   CONN       TCB       SRB  C

16.00.01 JOB12754  -ESPCCCHK             00     53      4       .00       .00  

16.00.02 JOB12754  -JS010                00    100     17       .00       .00  

16.00.03 JOB12754  -JS020                00    637     17       .00       .00  

16.00.03 JOB12754  -JS030                00    208     10       .00       .00  

16.00.03 JOB12754  -JS035                00    205     11       .00       .00  

16.00.03 JOB12754  -JS040                00    205     10       .00       .00  

16.00.03 JOB12754  -JS050                00     78      8       .00       .00  

16.00.03 JOB12754  -JS050                00     78      8       .00       .00  

16.00.04 JOB12754  -JS060                00    205     10       .00       .00  

16.00.04 JOB12754  -JS070                00    235     17       .00       .00   

16.00.04 JOB12754  -JS080                00    227     15       .00       .00  

16.00.04 JOB12754  -JS090                08     57      6       .00       .00  

16.00.04 JOB12754  IEF404I SACRHCK4 - ENDED - TIME=16.00.04                    

16.00.04 JOB12754  -SACRHCK4 ENDED.  NAME-ACR 4PM CHECK        TOTAL TCB CPU TIM

16.00.04 JOB12754  $HASP395 SACRHCK4 ENDED - RC=0008                           

Environment

Release : 12.0

Component : CA ESP WORKLOAD AUTOMATION

Resolution

The following member is invoked twice by this APPL MAST6DAY:

INVOKE 'PROD.SCHDP.PROCS.HKEEP(#GLOBALS)'



It contains following statement:

NOTIFY ABEND FAILURE ROUTE(1) DESC(2)



As the result, this statement shows twice on APPL level. Therefore it functions twice.



So the solution is to remove the second INVOKE statement for 'PROD.SCHDP.PROCS.HKEEP(#GLOBALS)', since it's on APPL level, once should be enough and it will be called for every JOB in the same APPL.