Error while importing stored procedure

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
Poornagirija
Participant
Posts: 65
Joined: Fri Nov 19, 2004 12:00 am

Error while importing stored procedure

Post by Poornagirija »

hi,
im new to Datastage.im trying to use stored procedure in ODBC.
while importing from stored procedure definitions,im getting the following error

DSR.MetaGeta(GET.PROC>COLUMNS)(DSSQLprocedurecolumns("","SCC BCI ERROR:Error calling SQL Fetch-
SQLSTATE = 22003,NativeError = 0,ErrorMsg = [oracle][odbc]Numeric

Anyone can help me?

Thanks in advance.

regards,

poornagirija
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
From the SQL Error, it looks you are trying to convert and the value it getting out of range, with loss of significant digits.
Please the the data types in the DataStage and the Stored Procedure you are using.

Thanks
Ketfos
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Search result from MSDN is given below

Convert CS to NT. If the conversion results in a loss of significant digits, SQLSTATE 22003 (Numeric value out of range) is returned. If the conversion results in the loss of nonsignificant digits, SQLSTATE 01S07 (Fractional truncation) is returned.
Post Reply