Start a multiple instance job N times simultaneously

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Alethesnake
Participant
Posts: 56
Joined: Mon Mar 26, 2007 8:48 am
Location: Blue Bay (La Spezia)

Start a multiple instance job N times simultaneously

Post by Alethesnake »

Hi All,
The aim is the one of the subject.
I have to run a job N times, according to the values (to be passed as parameters) saved into a file.

If I use the UtilityRunJob from a transformer having the file in input, the job is run N times but sequentially.
Is there a way to execute the instances simultaneously?

Thanks for any help.

Regards,

Ale.
...
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Run os dsjob with nowait option
Alethesnake
Participant
Posts: 56
Joined: Mon Mar 26, 2007 8:48 am
Location: Blue Bay (La Spezia)

Post by Alethesnake »

Thanks for your answer.
Is it possible to run the dsjob utility from datastage? I found the Execute Command stage for sequences, is it a suitable alternative to a shell script?

Is there an alternative way to make the simultaneous launches from a job (server/parallel)?

Thanks a lot.
...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You could make a copy of UtilityRunJob and modify it so that it does not wait for the job to finish. Of course, you then relinquish control, and can not readily throttle demand on the server.

Multiple, simultaneous execution of multi-instance parallel jobs, eh??

Of course, everyone knows that a DataStage server can deliver an infinite supply of CPU, memory and disk I/O resources!
:roll:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Alethesnake
Participant
Posts: 56
Joined: Mon Mar 26, 2007 8:48 am
Location: Blue Bay (La Spezia)

Post by Alethesnake »

That's interesting Roy, thanks for your suggestion.

I'll purpose it to my team.

Regards,

Ale.
...
Post Reply