RO92035 ptf for file_trigger "conditional" verb
search cancel

RO92035 ptf for file_trigger "conditional" verb

book

Article ID: 136070

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

The addition of 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 : CA ESP WORKLOAD AUTOMATION

Cause

Examples of how to use CONDITIONAL on File_Trigger WOBs.

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 TST4501T CONDITIONAL                        
/* DESC=Utility to monitor a creation of a file.         
RUN ANY                                                  
AGENT IMPACTSTAG1                                        
FILENAME E:\readmeX.txt    

DUEOUT EXEC 23:59                              
RELEASE ADD(TST4501A)                                    
ENDJOB                                                   
JOB TST4501A                                             
  CCCHK RC(1:4095) FAIL                                  
  ABANDON SUB 14:25                                      
  EARLYSUB 14:27                                         
  RUN ANY                                                
  RELEASE ADD(TST4501B)                                  
ENDJOB                                                   
JOB TST4501B                                             
  CCCHK RC(1:4095) FAIL                                  
  ABANDON SUB 14:25                                      
  EARLYSUB 14:27                                         
  RUN ANY                                                
ENDJOB                                                   

48     0 TST4501A                     11.45 TODAY COMPLETED AT 11.45 20 A

48     0 TST4501B                     11.45 TODAY COMPLETED AT 11.45 20 A

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

49     0 TST4501A                     11.47 TODAY COMPLETED AT 11.47 20 A

49     0 TST4501B                     11.47 TODAY COMPLETED AT 11.47 20 A

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