Hi All,
I am having a requirement wherein i have to execute 3 shell scripts in parallel after one of the parallel job gets completed. So for that, I have created one sequencer where i have attached the parallel job & after that i have attached 3 Eecute_Command stage for executing 3 shell scripts in parallel.
The thing is that even though the execute command stages are attached after the parallel job with the same trigger condition ,they are getting executed sequentially.
Is there any configuration setting i need to take care or are there any other factors.
Any help is appreciated.
How to run 3 shell scripts in parallel within datastage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 74
- Joined: Thu Jan 05, 2006 2:07 am
How to run 3 shell scripts in parallel within datastage
Thanks,
Sourabh Verma
Sourabh Verma
-
- Participant
- Posts: 251
- Joined: Mon Jun 09, 2008 5:52 am
-
- Participant
- Posts: 74
- Joined: Thu Jan 05, 2006 2:07 am
We've discusses this a few times lately. Since there's no background activity for commands, they are blocking operations. From what I recall, you may be able to build three other Sequence jobs that each have a single Execute Command stage in them and run those just after the Sequencer.
Or a single script to run the three scripts, one after the other in the background, but then you could have a control issue with knowing when all three are complete.
Or a single script to run the three scripts, one after the other in the background, but then you could have a control issue with knowing when all three are complete.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 74
- Joined: Thu Jan 05, 2006 2:07 am