ESP Workload Automation

 View Only
  • 1.  ESP use of CCCHK when using a Model

    Posted Dec 12, 2017 04:31 PM

    Has anyone experienced this situation when using CCCHK? And if so, how did you get around it?  


    I have an application coded as below. Jobs DXXXXX01 and DXXXXX03 both have a model defined, with a JOBFAIL event listed in the model definition.  When the below runs, and receives a CC 4 in the first job(DXxxxx01), the JOBFAIL event is executed from the model, even though that is not my intent.  A CC 4 is acceptable.  If I run this appl and the first job receives a CC 5, the JOBFAIL event is executed along with the NOTIFY FAILURE MAILBOX statement(which is the intent). 



    ANNETEST : ESPPROC                        

    APPL ANNETEST INDEX(10)                    

    JCLLIB 'AL27710.ESP.CNTL'                  

    CCCHK RC(1:4) OK CONTINUE                  

    CCCHK RC(5:4095) FAIL                      


    JOB DXXXXX01                              


      RUN ANY                                  

      RELEASE DXXXXX03                         



    JOB DXXXXX03                              

      NOTIFY FAILURE MAILBOX(LEONARD)                        

      MEMBER TESTIT1                           

      RUN ANY                                  



    Additional info:

    ltj dxxxxx01                                                       
    JOB DXxxxx01, MODEL ANNE2, OWNER DX24948, 5 JOBS INDEXED, 5 MAX    
    ltm anne2                                                          
         MODEL - ANNE2    DEFINED AT 12.33 ON MON 11DEC2017 BY AL27710 
      HISTFILE - DXHIST, INDEX(10), TRACK, NOPRINTDATA                 
      JOB FAIL - VASTUGRP.NOTIFY_ABND                                  

    Thanks in advance.


    Anne Leonard

  • 2.  Re: ESP use of CCCHK when using a Model
    Best Answer

    Broadcom Employee
    Posted Dec 14, 2017 08:04 AM

    Hi Anne,


    The support case you opened has been moved to our next level.


    Will update the post here when the root cause is determined.


    Thank you,



  • 3.  Re: ESP use of CCCHK when using a Model

    Posted Dec 18, 2017 08:05 AM

    Hi Anne, 

    This is a possible/temporary workaround. 

    I am not sure what is being initiated by the JOBFAIL event VASTUGRP.NOTIFY_ABND defined in the model. 


    It would be possible to change the NOTIFY MAILBOX to a NOTIFY ALERT and initiate the VASTUGRP.NOTIFY_ABND event. 

    Inside the NOTIFY_ABND application do any notifications needed.

    This method will obey the CCCHK statements and only trigger the application at the correct times. 


    Let me know if you have any questions. 






  • 4.  Re: ESP use of CCCHK when using a Model

    Posted Dec 18, 2017 08:59 AM


      I tried that, and that appears to work.  Let me do some more testing.




  • 5.  Re: ESP use of CCCHK when using a Model

    Posted Dec 20, 2017 01:14 PM

    Hi Don,

      I tried that, using the NOTIFY ALERT, and I'm still getting notified.  I get notified multiple ways actually.  Through the model and through my NOTIFY Alert.  I don't want to get notified by either of those methods, if the return code is 4 or less. 


    Hi Lucy,

      Thanks for the update.




  • 6.  Re: ESP use of CCCHK when using a Model

    Posted Dec 21, 2017 01:47 PM

    Hi Anne, 

    Let me dig through the case.  This process works millions of  times per day I am not sure what is different here.


    I will get back to you.