AnsweredAssumed Answered

ACTIVATE_UC_OBJECT to run a job next day

Question asked by ettve01 Employee on Oct 26, 2018
Latest reply on Oct 27, 2018 by ettve01

Hello,

 

I have a scenario:

 

There are two jobs-  Job1 performs some task when it was executed and it should activate the Job2 for next day.

 

Below is the script for Job1:

Pre-Process: 

   :SET &GBDATE# = ADD_DAYS('&$PHYS_DATE_YYYYMMDD#',1)

Process tab:

   :SET &runnr# = ACTIVATE_UC_OBJECT(MY_JOB2,,&GBDATE#)

 

When I execute the Job1, it immediately starts the Job2, but when I print &GBDATE# it is showing the next day in Job1 report.

 

How can I activate the Job2 for next from Job1?  

 

Thanks,

Venugopal reddy

Outcomes