How to call MS SQL Server 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
xch2005
Participant
Posts: 85
Joined: Fri Apr 29, 2005 3:13 am
Location: India

How to call MS SQL Server stored procedure

Post by xch2005 »

Hi,

I actually need to use MS SQL Server stored procedure in a parallel job, earlier stored procedure was in Sybase so STP (stored procedure stage) was used.

The strored procedure actually returns 2 columns which are passed to join stage and this is one of the source stages.

Appericiate any help on this. Please let me know how to execute a stored procedure (MS SQL Server) ie. which stage is feasible and how?

Thanks
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

Use Stored Procedure stage.It supports SQL server also.
Arvind
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not on UNIX. I would guess you'd need the appropriate ODBC drivers and then use the ODBC stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
xch2005
Participant
Posts: 85
Joined: Fri Apr 29, 2005 3:13 am
Location: India

Post by xch2005 »

Used ODBC to connect to SQL Server DB after the ODBC configuration is done.
Thanks all.
Post Reply