Stored Procedure stage help

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
vsanghvi
Participant
Posts: 22
Joined: Wed Mar 09, 2005 4:47 pm

Stored Procedure stage help

Post by vsanghvi »

Hi

I am using stored procedure stage to read data from DB2 calling a specific stored procedure and writing to a seq file. SP takes 12 parameters and returns a cursor with 25 colums. In designer on my parameters tab of the sp stage I have listed first 12 parameters and then 25 output column names. Now on output tab under column tab I have same 12 + 25 list. They are mapped with the same column name.

Job compiles fine and runs file. However when i look at the output it has correct 12 + 25 colums and in first 12 it has the info for parameters and then it starts with the out put data but starts from 13th column data in 1st column. In other words it writes only 13 output colum data starting 13th one in 1-12 column and then everything is empty. I dont' know what it is doing with first 12 cursor output colums data. Anybody had similar issue ? Please share.

Thanks
VSanghvi
Post Reply