Stored Procedure

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Stored Procedure

Post by admin »

Hi All,
I am getting the following error while executing Data Stage job.

StoreOut..CTransformerStage10: |SQL statement has incorrect number of result
columns.|

Could please give me the details error
Any help wouldbe highly appreciated
Thanks&Rgds
Prasad**********************************************************************
****
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
_______________________________________________
datastage-users mailing list
datastage-users@oliver.com
http://www.oliver.com/mailman/listinfo/datastage-users
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Stored procedure

Post by admin »

Hi Prasad,
For any transformation in DataStage the input columns should match the output columns in the same order. Check your input columns and output columns, the procedure returning the columns does not match your outputs.
try running the procedure seperately and look at the no. and order of columns returned and then map it to your output in the same way. You should then not encounter this error..

Enjoy..
Baig



Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
_______________________________________________
datastage-users mailing list
datastage-users@oliver.com
http://www.oliver.com/mailman/listinfo/datastage-users
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
Locked