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
pradkumar
Charter Member
Charter Member
Posts: 393
Joined: Wed Oct 18, 2006 1:09 pm

Invalid Number

Post by pradkumar »

Hi

I am trying to read data from oracle and laod the data again to a table in oracle.
I am getting invalid number error. i checked the datatypes and loaded one by one. i found that one of my field "REP_ID" is causing invalid number error.
In the source it is of varchar datatype and nullable.
In the target it was decimal, but now I changed it to varchar and still it gives the same error.

REP_ID:
YAU102388
YSG-1
2390

I am unable to get what might be the problem
Pradeep Kumar
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Check all the places you have reference to this field

- In your job.
- In the databasse where you have made change to the column data type
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Changing it in the DataStage job is not enough. If the target table still has it defined as a numeric data type, it still won't work with the alphabetic characters in it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pradkumar
Charter Member
Charter Member
Posts: 393
Joined: Wed Oct 18, 2006 1:09 pm

Post by pradkumar »

Thx..

I changed in the target also now. Its working
Pradeep Kumar
Post Reply