which stage to use for Stored Procedure

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_ashish
Participant
Posts: 15
Joined: Thu Nov 23, 2006 12:30 am

which stage to use for Stored Procedure

Post by ds_ashish »

Hi All,

Using DS 7.5.1.A

I want to use a stored proc. which is written in MSSQL, my questions are :-

1) which stage should i use for this?
2) I have a requirement that i have to set 3 parameters as input and it retuns two output parameters. How to implement this conditions.

Please help me out from this... :cry:
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

You have STP stage in your version. Use that stage. Send in your parameters as input and specify two columns as output. Read the documentation for more info.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ds_ashish
Participant
Posts: 15
Joined: Thu Nov 23, 2006 12:30 am

Post by ds_ashish »

you mean to say stored procedure stage?

Or STP stage is a different stage.

i'm using DS 7.5.1.A and i have to access MSSQL stored proc.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Yes the Stored Procedure Stage. But wait, I dont think STP stage supports SqlServer. Use the ODBC stage.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply