Issue in Reading a 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
kiran0435
Participant
Posts: 39
Joined: Sun Sep 26, 2010 10:28 pm

Issue in Reading a SQL Server Stored Procedure

Post by kiran0435 »

Hi,

I am trying to read a SQL Server Stored Procedure in the following way in ODBC Connector Stage:

DECLARE @TEST int
Exec dbo.spValidateLoadProcess 'xyztable', @TEST OUTPUT
SELECT @TEST abc

Then I am getting an error as Null Arguement:pDataSetDef

Can anyone help me in accessing this procedure.

If I use the same syntax in my Quering Tool, I am able to view a column that returns the valid value.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Are you not able to use the Stored Procedure stage for this?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kiran0435
Participant
Posts: 39
Joined: Sun Sep 26, 2010 10:28 pm

Post by kiran0435 »

I will try that. But before I just tried various options with ODBC Connector. Can you please help in figuring out with ODBC stage.
Post Reply