PTF RO92035 for File_Trigger "CONDITIONAL" verb
search cancel

PTF RO92035 for File_Trigger "CONDITIONAL" verb

book

Article ID: 136070

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

PTF RO92035 makes it possible to bypass an ESP file trigger by adding the "CONDITIONAL" verb at  the end of the file trigger statement.

 

Environment

Release : 11.4

Component :  ESP WORKLOAD AUTOMATION

Resolution

This is an important feature as we do not always have a file available for a file trigger.  When this happens, we set a abandon sub to the successor job that uses the file and continue the job 

stream.  The file_trigger bypasses at the end of the proc conclusion. The dueout exec stops the file_trigger going into overdue status. 

 

FILE_TRIGGER jobt  CONDITIONAL                        
/* DESC=Utility to monitor a creation of a file.         
RUN ANY                                                  
AGENT myagent                                        
FILENAME E:\readmeX.txt    

DUEOUT EXEC 23:59                              
RELEASE ADD(job1)                                    
ENDJOB  

                                                 
JOB job1                                             
  CCCHK RC(1:4095) FAIL                                  
  ABANDON SUB 14:25                                      
  EARLYSUB 14:27                                         
  RUN ANY                                                
  RELEASE ADD(job2)                                  
ENDJOB  

                                                 
JOB job2                                             
  CCCHK RC(1:4095) FAIL                                  
  ABANDON SUB 14:25                                      
  EARLYSUB 14:27                                         
  RUN ANY                                                
ENDJOB                                                   

48     0 job1                               11.45 TODAY COMPLETED AT 11.45 20 A

48     0 job2                              11.45 TODAY COMPLETED AT 11.45 20 A

48     0 jobt                               11.45 TODAY COMPLETED(F) AT 11.47 2          without the conditional statement, the file_trigger has to be force-completed. 

49     0 job1                              11.47 TODAY COMPLETED AT 11.47 20 A

49     0 job2                              11.47 TODAY COMPLETED AT 11.47 20 A

49     -  jobt                               11.47 TODAY BYPASSED                                        with the conditional statement, it bypasses at the end of the proc.