ORA-01722: invalid number

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
akhiln
Participant
Posts: 32
Joined: Fri May 07, 2004 6:46 am
Location: Bangalore

ORA-01722: invalid number

Post by akhiln »

I am getting an error like ORA-01722: invalid number. I am writing to an ORACLE table. My source is a sequential file.

I checked all the columns and verified that numeric columns are getting only numeric values.

Any suggestions
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

You can try 2 options

1. Check whether data loaded is really numeric
Redirect the data to a file instead of a table

2. Check with debug option in datastage

Regards
Sreeni
akhiln
Participant
Posts: 32
Joined: Fri May 07, 2004 6:46 am
Location: Bangalore

Post by akhiln »

Thanks Sreeni, One of the numeric field was getting some carriage return charater or space. The problem was with the source sequential file data.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Congratulations on solving it. :D

Error codes like ORA-01722 are generated by Oracle. You can obtain more information about them using the oerr command on the DataStage server machine. For example:

Code: Select all

oerr ORA -1722
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply