Invoke routine from another datastage routine

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
somesh2suma
Participant
Posts: 23
Joined: Wed Apr 08, 2009 5:28 am
Location: Bangalore

Invoke routine from another datastage routine

Post by somesh2suma »

hi

i want to invoke a routine from another datastage routine.
Basically i have a generic routine which has to be called many a times from another routines.
please let me know how to call this.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Are we talking a DataStage BASIC before/after/Server type routine or one of them new fangled C++ ones for PX?
-craig

"You can never have too many knives" -- Logan Nine Fingers
somesh2suma
Participant
Posts: 23
Joined: Wed Apr 08, 2009 5:28 am
Location: Bangalore

Post by somesh2suma »

sorry for insufficient information provided.

i was pointing to parallel routine, not after/before routines.
i want to invoke a generic parallel routine from other parallel routines.
somesh2dsx
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Standard C++ programming techniques, then. How you do it depends on whether you want the other routine to be dynamically or statically linked.
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