How to Maintain Job/batch/Folder Orders in Schedulix??

91 views
Skip to first unread message

Soumen Sarkar

unread,
Jan 28, 2015, 8:04:20 AM1/28/15
to sche...@googlegroups.com
Hi Team,

  Need a quick help on this. I have this job and batch hierarchy. Looks fine for me and in desired order.

  
But whenever I am creating  a dependency between *_LOOP job and 030000_REMOVE_DUP_RECS, the entire order is getting distorted, The 2nd step is appearing at the last.
could you please help me out.What the mistake I did, or how can we handle JOB/Batch/Folder Order in "Job,Batch, and Milestone definition page" or Job and "Hierarchy Page".
See below image.


Thanks For you Help..


Thanks
Soumen

Dieter Stubler

unread,
Jan 28, 2015, 8:23:10 AM1/28/15
to sche...@googlegroups.com
Hallo,

There is not a 'real' order in the output of the hierarchy since everything without a dependency can run in parallel.
There is no 'second step' defined by the order displayed.
Running your batch will execute all jobs in parallel. Only DUP_RECS has to wait for completion onf CP_LOOP.
So if the LOAD_DATA takes long the DUP_RECS will be infact executed last.
The frontend does a cheap and fuzzy evaluation of runsequence by calculating the number of steps in (transitive) dependencies to display a tree, sorted with dependcy arrows pointing down whenever possible.
If numbers of steps are the same, alphabetical sort is used.
Thats why the dependent batch is moved down because his step count is 1 and the step count of the others is 0.
So if you make LOAD_DIM1 dependent from DUP_RECS it would have to wait for DUP_RECS and will get a step count of 2.
The hierarchy display will then put LOAD_DIM1 below DUP_RECS.

Hope that helps

Regards
Dieter

Soumen Sarkar

unread,
Jan 28, 2015, 10:54:24 AM1/28/15
to sche...@googlegroups.com
Thanks Dieter , we have achieved this what we wanted. actually I was doing a mistake, just created the all dependencies at one shot will put all in order. Earlier I was creating one dependency first, then saved it and closes the job and hierarchy tab.

but what you shared, that's also very informative.

thanks for your help..

..Soumen S
Reply all
Reply to author
Forward
0 new messages