How to call a SQL Server stored procedure in ds

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Jaleel
Participant
Posts: 13
Joined: Wed Jul 19, 2006 3:57 am

How to call a SQL Server stored procedure in ds

Post by Jaleel »

Could anyone please suggest how to call a SQL Server stored procedure which has no inputs and outputs?
Thanks n Regards,
Jaleel :-)
ragunathan13
Participant
Posts: 50
Joined: Mon Sep 25, 2006 11:18 pm
Location: Chennai
Contact:

Post by ragunathan13 »

HI..

Use "stored_Procedure" stage, which is present in database palate.
srinath
Participant
Posts: 9
Joined: Wed Nov 09, 2005 7:18 am

Post by srinath »

USE ODBC Stage and in the general tab select stored procedure.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

SIYF(Search Is Your Friend.) Simply use "SQL Server stored procedure" as keyword, you ll get many hits.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

If it doesn not have IN or OUT parameters then you can just call it in either before or after sql tab of DRS stage.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply