Hi there,
Since Datastage 6.0, the GUI version sequencer job is created to control ETL job run. The question here is: is there any benefit to use Unix shell scripts to control the job run, rather than the job sequencer. Especially, from 7.5, Datastage was added more stages to control the job run. To me, I like the GUI. It's visual and easy to see where the control flows go. It's like a map or text version description to tell you how to drive from Toronto to New York. Which one you prefer?
Thanks,
Is there any benefit to use Unix shell script to control job
Moderators: chulett, rschirm, roy
It depends upon your personal preference. Some like job sequences as they are more readable, easy to maintain, gui based as you pointed out, where as others prefer the old school, code it. Whether write a batch job, or a shell script or a control job.
i prefer a shell script as its much more easier for me to control restartability, passing parameters from one job to another job, creating job report in a delimited file which can be then loaded into a table for audit trails. Scripting gives me more flexiblity. Also archivals, staging files cleanup, all that extra stuff is much more feasible in a script.
Its basically personal preference and how you design the entire ETL cycle.
It really depends upon person to person.
Regards,
i prefer a shell script as its much more easier for me to control restartability, passing parameters from one job to another job, creating job report in a delimited file which can be then loaded into a table for audit trails. Scripting gives me more flexiblity. Also archivals, staging files cleanup, all that extra stuff is much more feasible in a script.
Its basically personal preference and how you design the entire ETL cycle.
It really depends upon person to person.
Regards,
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:
Any form of "computer programming" is actually communicating with the next programmer. Consider what the next programmer will find easier, but do not forget that, as aditya observed, there may be other activities that also need to be scheduled/controlled. Most of these could probably be managed via Execute Command activities job sequences.
If one were programming the computer, one would write entirely in binary.
If one were programming the computer, one would write entirely in binary.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Use a script to invoke the master control job sequence if you want to feed the overall result back to an enterprise scheduler such as Control-M, UC4, SeeBeyond, etc.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.