User Defined Data Stage

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
vinodbp
Participant
Posts: 19
Joined: Thu Nov 29, 2007 12:29 am
Location: KOLKATA

User Defined Data Stage

Post by vinodbp »

Please help me to create and how to use the user defined DataStage functions on basses input columns and implementation if and else conditions .

My next step to map the out put to specified columns.

share your thoughts .

Thanks,
Vinod
vinodkumar.b.p
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your first step must be to specify:
(a) what the function does (its algorithm)
(b) what the function's input arguments are
(c) what the result of the function should be (only one value is permitted)
(d) how you plan to test the function

Once you have all that documented, you code the function in C++, compile, link and test it.

If all that's OK, you add an entry into your DataStage project that describes the "parallel routine" - its location and its arguments and their data types. This is information allows the function to be found when programming the Transformer stage and allows the arguments to be checked when validation occurs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
PhilHibbs
Premium Member
Premium Member
Posts: 1044
Joined: Wed Sep 29, 2004 3:30 am
Location: Nottingham, UK
Contact:

Post by PhilHibbs »

Compile options can be found in Administrator.

The main unsolved challenge that I am facing with parallel routines is how to handle UTF8 strings.
Phil Hibbs | Capgemini
Technical Consultant
Post Reply