AnsweredAssumed Answered

How can I trigger an event upon successful completion of a job?

Question asked by compscigui on Jan 24, 2019
Latest reply on Jan 31, 2019 by powdo03

Currently code looks like this:

 

JOB DXRFADSD                                 
  CCCHK RC(1:9999) OK CONTINUE               
  RUN ANY                                    
  NOTIFY JOBEND EVENT(DXGROUP.DXRFADSD_JOBEND)
  RELEASE DXRFALTU                           
ENDJOB                                       

 

What I am trying to do is ensure that a list of jobs continues to run even if this job fails, which is why I have the OK CONTINUE, at least that is my understanding of its use. I need the event DXGROUP.DXRFADSD_JOBEND to only be triggered upon successful completion of job DXRFADSD. I am getting mixed search results as to whether this is the correct way to go.

 

Thanks,

Frank

Outcomes