Calling a unix shell scripts from Datastge job

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
skaruturi
Participant
Posts: 10
Joined: Wed Sep 13, 2006 2:17 am

Calling a unix shell scripts from Datastge job

Post by skaruturi »

Can I call a unix shell script from Datastage job
ds_debasis
Participant
Posts: 17
Joined: Fri May 25, 2007 11:59 am

Re: Calling a unix shell scripts from Datastge job

Post by ds_debasis »

skaruturi wrote:Can I call a unix shell script from Datastage job
I you go to job properties ( Ctrl+J) . On general tab there is after_job and before_job subroutines, where you can use UNIX command.

Limitations : This command can only triggered before/after job executions.

If you want to use in between then you have to use Wrap custom stages ( I did not work on this, so could not able to help on this ) [ read the datastage adv. Developer guide].

Thanks
debasis
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can also use the Execute Command stage in a Sequence job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are also External Source, External Target, External Filter and Wrapped stages.

Precisely what do you want to do with this shell script?
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