sequencing jobs through UNIX
Moderators: chulett, rschirm, roy
sequencing jobs through UNIX
HI
i want to know how i can sequence and run the server jobs through UNIX.
thks
i want to know how i can sequence and run the server jobs through UNIX.
thks
Get all the job names in a file, in the order they are supposed to be run and then you can do something like
This is very very, basic. Just to give you an idea. You will need much more commands and logic if you want to incorporate restartability and creating job status etc.
Code: Select all
cat $joblist | while read job_names
do
dsjob -run -status $PROJ $job_names
done
Last edited by DSguru2B on Tue Jul 11, 2006 7:39 am, edited 1 time in total.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi
I am starting a new project and they told that they use only unix to sequence and run the jobs.I dont know why they are not using Datastage job sequence or any third party tools(Appworx).I want to know where i can find more information about this like study material ,Docs .
Thank you very much for your reply
sai
I am starting a new project and they told that they use only unix to sequence and run the jobs.I dont know why they are not using Datastage job sequence or any third party tools(Appworx).I want to know where i can find more information about this like study material ,Docs .
Thank you very much for your reply
sai
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
Its all about design. You need to put down the psudo-code on paper. Then as mentioned by Krazykoolrohit, its just a mastery of unix, which you can master within a few days. Then its just a matter of translating that psudo-code into unix code.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: