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
sshettar
Premium Member
Posts: 264 Joined: Thu Nov 30, 2006 10:37 am
Post
by sshettar » Wed Aug 06, 2008 10:16 am
Hi All,
I am facing problem to write a parallel routine.When i right click on my routine folder and select parallel routine it gives me a window only wid 3 tabs (General , Creator , Arguments)
I dont see the code tab for me to write my own code.
Can anybody help me with this
Any help will be highly appreciated
Thanks
Shalini
girija
Participant
Posts: 89 Joined: Fri Mar 24, 2006 1:51 pm
Location: Hartford
Post
by girija » Wed Aug 06, 2008 10:37 am
Yes, this is right. Write a C/C++ code. Compile/build it and define here as Object (.o file) or Library (.dl / .sl)
bcarlson
Premium Member
Posts: 772 Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota
Post
by bcarlson » Wed Aug 06, 2008 2:45 pm
Why not use a buildop?
It is not that I am addicted to coffee, it's just that I need it to survive.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Aug 06, 2008 2:49 pm
You don't see a Code tab as you do coding/compiling outside of DataStage, then come here and create a pointer/interlude to the routine.
-craig
"You can never have too many knives" -- Logan Nine Fingers
venkatvelpula
Participant
Posts: 80 Joined: Sat Mar 18, 2006 10:27 pm
Post
by venkatvelpula » Tue Aug 12, 2008 1:31 pm
Follow these steps:
- Create code in C++, and put that code on server
- compile that to create .o file or .so file
- go to datastage and create a routine ..you need to call that as external function