Job with 'P' holiday action executed before the predecessor job
search cancel

Job with 'P' holiday action executed before the predecessor job

book

Article ID: 436176

calendar_today

Updated On:

Products

Jobtrac

Issue/Introduction

  We encountered an issue where a job executed before its predecessor when holiday action was involved.  
The SCL below encountered the problem: 

 TESTJOB2 ASAPP*                                                      FRIDAY      
+                              *         -TESTJOB1                         FRIDAY     

Resolution

A job will execute early if its predecessor is defined on a continuation line with no holiday action code.  To address this, update the SCL to include the holiday action on the continuation line (e.g., change + * -TESTJOB1 to + P* -TESTJOB1) .  In order for a holiday action to pertain to the information about continuation statements, you must include the action on each statement. The action does not automatically apply to the continuation statements.

We recommend that you perform a similar audit on other SCLs where holiday actions are used with predecessors on continuation lines and make the appropriate corrections.