Custom Stage using C++/C

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
ds_debasis
Participant
Posts: 17
Joined: Fri May 25, 2007 11:59 am

Custom Stage using C++/C

Post by ds_debasis »

Hi
I need to build a custom stage using C/C++ ( earlier in server job using a routine like clean field, valid alpha numeric, getting ASCII value of alpha numeric inputs etc. ).

Can someone help me with the steps needed to incorporate C/C++ codes into PX environment?

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

Post by ray.wurlod »

Select Stage Types branch in Repository. Right click, choose Add New Parallel Stage then, from the next menu, choose Build. Use the F1 or Help buttons within the stage editor to figure out what to do from there; what code to put on which tabs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

You might find it easier to use custom routines in a parallel transformation rather than a custom stage. I put a link to IBM's custom parallel routine tutorial in my blog post The Top 7 Online DataStage Tutorials.
iDomz
Participant
Posts: 81
Joined: Wed Jul 25, 2007 5:25 am
Location: London

Post by iDomz »

IBM Developerworks site has a document with very good examples. Not sure if that is what Vince mentions.

check for Create custom operators for WebSphere DataStage under Websphere -> Information Management.

It looks like good compared to the server job and parallel job guides
(No offences but quite a few of the threads here direct people to those guides. That is inhumane and should be outlawed as per geneva conventions)
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

iDomz, what would the URL be?
iDomz
Participant
Posts: 81
Joined: Wed Jul 25, 2007 5:25 am
Location: London

Post by iDomz »

abc123 wrote:iDomz, what would the URL be?
Create custom operators for WebSphere DataStage

Cheers,
D
ds_debasis
Participant
Posts: 17
Joined: Fri May 25, 2007 11:59 am

Post by ds_debasis »

iDomz wrote:
abc123 wrote:iDomz, what would the URL be?
Create custom operators for WebSphere DataStage

Cheers,
D
Thanks a ton for this link.
Post Reply