Stored procedure guide

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
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

Stored procedure guide

Post by monaz »

Hi ,

I am new to stored procedure stage could anyone guide me how to resolve the below scenario.


I have a stored procedure ABCDE which takes two parameter its db2 sp.

I just need to pass the parameter to this Stored procedure and inturn stored procedure reads those parameter and insert the records into the database.

Can any one guide me how to use this SP stage also resolve the above issue.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need something to feed a single record to the SP stage with those two values as columns that can be bound into the call. In PX, a Row Generator should work, perhaps with an intermediate Transformer to slide the values into the link that you need.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dssiddu
Participant
Posts: 66
Joined: Mon Nov 07, 2005 10:28 pm
Contact:

Post by dssiddu »

call the SP with parameters in the stage. Which stage you are going to use ?
Post Reply