Stored Proc having temp tables

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
_chamak
Premium Member
Premium Member
Posts: 29
Joined: Tue Aug 24, 2010 10:29 am

Stored Proc having temp tables

Post by _chamak »

I have an extract job which reads it from SQL Server and loads into a Dataset. We are using ODBC stage for reading the SQL server. We are calling a simple stored proc from ODBC and it works fine, now when we have temp tables in the stored proc its getting aborted with no reason. It says columns not found. We checked for the access and everything looks fine. Not able to find what exactly the issue was.

Can someone plese give me some ideas.
-Thanks
Chamak
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Does the stored procedure work outside of DataStage?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
_chamak
Premium Member
Premium Member
Posts: 29
Joined: Tue Aug 24, 2010 10:29 am

Post by _chamak »

Yes Ray, when we run manually from SQL Server studio it works fine with no issues.
-Thanks
Chamak
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Probably need to make the job single threaded. The proc probably does not work when more than one is running at the same time.
Mamu Kim
Post Reply