capture stored procedure output

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
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

capture stored procedure output

Post by chrisjones »

Hi ,
I am calling procedure and the procedure returns value like 0 or 1 but i am not able to capture the return value

Can you help me how to capture the return value after the procedure is finished..
Thanks,
Chris Jones
surfsup
Participant
Posts: 18
Joined: Thu Apr 23, 2009 8:43 am

Re: capture stored procedure output

Post by surfsup »

How are you calling the stored procedure? What have you done so far? What's the procedure signature?

Can you use an output parameter instead of a return code and map to that instead?
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

Post by chrisjones »

I am using the stored procedure stage
Thanks,
Chris Jones
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

chrisjones wrote:I am using the stored procedure stage
Wow, thats a lot of information :wink: Do you have anything else to say?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

Post by chrisjones »

you say if you know anything, i don't have anything to give.
Thanks,
Chris Jones
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually, there is more information you can provide.

First off, what is your job design? What database are we talking about here? What type of procedure did you declare it to be in the stage - Source, Target or Transform? What have you tried so far to capture the return value and what hasn't worked about it?

I'd also be curious if you've read through the Connectivity Guide for Stored Procedures pdf manual.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply