Using SCOPE or SCHEDULED on an external job in CA Workload Automation EE (ESP).

Document ID : KB000051540
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When using a SCOPE or SCHEDULED on an external job, How does the product look at the external job? Is it based on the day the job was run or the day it was scheduled?

You have this application job to be run:

 JOBA JOB 
  RUN WORDAYS
 ENDJOB  

Say you have an external that runs the next workday. For the above job, it can run on the workday or after midnight of the workday.

Solution:

CA Workload Automation EE will look at the day the job was scheduled.

So this external will look back at the correct job:

 JOB JOBA EXTERNAL APPLID(PAYROLL) + 
 SCHEDULED('TODAY LESS 1 WORKDAYS') 
     RUN NOW                        
     RELEASE JOBB                   
 ENDJOB