Hi,
Env 8 on Windows
Need to pass comming friday for a job which will execute from Sunday to Thursday.
Sunday=ODATE date of friday
Mon.=ODATE date of friday
..
Thurs=ODATE date of friday
So how to define a job which will run daily to send a value to this variable .
In alternate way we have to create 5 jobs before the execution of full chain.so on sunday .
1st job will resolve the value of variable (%%\PARAM1 %%$ODATE %%$CALCDATE +4)
and we can pick the GL variable value of PARAM1 in the required job.
But in this type ,we need to define one one job for each day to pass the value to PARAM1.
So I am looking to define on a singe job .which will automatic resolve value of PARAM1
like
sunday it will (%%\PARAM1 %%$ODATE %%$CALCDATE +5)
monday (%%\PARAM1 %%$ODATE %%$CALCDATE +4)
tuesday (%%\PARAM1 %%$ODATE %%$CALCDATE +3)
wednees (%%\PARAM1 %%$ODATE %%$CALCDATE +2)
Thursday (%%\PARAM1 %%$ODATE %%$CALCDATE +1)
Thanks for your feedback on this.
=================================================
Passing variable for comming friday
Re: Passing variable for comming friday
Hi Dablu,
is possible in the daily job... but I dont send you the solution (to easy).
But I can send this:
use this system variable to do calculation:
-------------
%%OWDAY
Original scheduling day of the week of the job (1= Sun., 2= Mon., and 0=Sat.).
-------------
Regards
is possible in the daily job... but I dont send you the solution (to easy).
But I can send this:
use this system variable to do calculation:
-------------
%%OWDAY
Original scheduling day of the week of the job (1= Sun., 2= Mon., and 0=Sat.).
-------------
Regards