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
vijayg
Premium Member
Posts: 14 Joined: Wed Oct 10, 2007 7:55 am
Post
by vijayg » Fri Mar 28, 2008 1:08 pm
How to call unix command from the stage?
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Mar 28, 2008 1:12 pm
What stage? The Execute Command stage in a Sequence job pops to mind as the easiest, but there are other ways.
-craig
"You can never have too many knives" -- Logan Nine Fingers
vijayg
Premium Member
Posts: 14 Joined: Wed Oct 10, 2007 7:55 am
Post
by vijayg » Fri Mar 28, 2008 1:21 pm
chulett wrote: What stage? The Execute Command stage in a Sequence job pops to mind as the easiest, but there are other ways. ...
Thanks for the reply. I am thinking of doing it from Transformer stage.
Vijay.
girija
Participant
Posts: 89 Joined: Fri Mar 24, 2006 1:51 pm
Location: Hartford
Post
by girija » Fri Mar 28, 2008 1:28 pm
vijayg wrote: chulett wrote: What stage? The Execute Command stage in a Sequence job pops to mind as the easiest, but there are other ways. ...
Thanks for the reply. I am thinking of doing it from Transformer stage.
Vijay.
And you have to call it from Datastage Sequence.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Mar 28, 2008 2:01 pm
Why the Transformer? That would mean one call per record, is that really what you want to do? Consider doing it 'after job' for a 'once per run' implementation.
-craig
"You can never have too many knives" -- Logan Nine Fingers