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
wizee
Participant
Posts: 7
Joined: Wed Sep 03, 2008 5:10 pm

Stored Procedure

Post by wizee »

I have a stored procedure which outputs two result sets.

Result set #1
col1 col2 col3
1 b test

Result set #2
col4 col5 col6
34 abcd 122

My first job is designed to get the Result set#1 and second job to get Result set#2.My problem is I get the results from Result set#1 in my second job also. I have checked the parameters, input/output columns and everything is according to Result set #2. Where am I not looking?Any suggestions??
shaimil
Charter Member
Charter Member
Posts: 37
Joined: Fri Feb 28, 2003 5:37 am
Location: UK

Post by shaimil »

Can you specify the calls you're making in this post together with any arguments.
wizee
Participant
Posts: 7
Joined: Wed Sep 03, 2008 5:10 pm

Post by wizee »

This DB2 stored procedure gives correct output when I test it outside datastage. Is there something I need to set up for a stored procedure stage within datastage to view both the outputs?
Post Reply