DO JOB SEQUENCES COULD BE RUN THROUGH DIRECTOR ORNEEDS SCRIP

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
panic
Participant
Posts: 17
Joined: Fri Sep 23, 2005 5:58 pm

DO JOB SEQUENCES COULD BE RUN THROUGH DIRECTOR ORNEEDS SCRIP

Post by panic »

DO JOB SEQUENCES COULD BE RUN DIRECTLY THROUGH DIRECTOR
WITHOUT USING ANY SHELL SCRIPT TO CALL
IF SO CAN ANY ONE EXPLIAN BRIEFLY
OR IT IS MANDATORY TO HAVE A SHELL SCRIPT FOR CALLING OR RUNNING 4 JOB SEQUENCES.
IF SO CAN ANYONE POST EXAMPLE OF SHELLSCRIPT THAT CALL JOB SEQUENCES IN UNIX AIX VERSION 5.1.




[/img]
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok, stop SHOUTING. We hear you fine. :wink:

Yes, Sequencer Jobs can be run from the Director just like any other jobs.

No, normally no 'shell script' is required to run any kind of jobs, but you'll find that you will need one if you want a third party / Enterprise scheduling tool (like Control-M) to run the jobs. The script is basically a 'wrapper' around the dsjob command which is something you can read about in the Server Job Developer's Guide manual in the Command Line Interface chapter. Of course, searching the forum will turn up a wealth of information on the subject.

Again, no you don't need scripts to run 4 sequences. A Sequencer job is perfectly happy running regular jobs *or* Sequencer jobs. So, all you need is a fifth Sequencer to run your other four.

For an example wrapper script, search the forum for posts which mention 'dsjob' from a certain author by the name of kcbland. You'll find a rather... thorough... example he posted. :lol:
-craig

"You can never have too many knives" -- Logan Nine Fingers
panic
Participant
Posts: 17
Joined: Fri Sep 23, 2005 5:58 pm

Post by panic »

thanks buddy
i will work out with that.
thank you once again
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Do a search there are lots of shell scripts posted already if you want to go that route.
Mamu Kim
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The thing to remember here is that a job sequence is just a special case of a server job.

The only thing special about it is that it consists of (read-only) job control code generated by precompiling its design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply