ORA-01722 error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ajithaselvan
Participant
Posts: 75
Joined: Mon Jul 12, 2010 4:11 am
Location: Chennai

ORA-01722 error

Post by ajithaselvan »

Hi,
I'm getting the error: ORA-01722 when i try to insert in DB using oracle connector stage. I checked all the options which were mentioned in the previous posts. I checked the input meta data with target DB metada and I'm not doing any conversions.
Below is my input

sec_num number,
sec_key varchar,
sec_type varchar,
card_no varchar,
detail varchar,
curr_dt date

Instead of giving output link to oracle connector, i gave to sequential file.
In separate job, i took that seq file as my input and tried to insert using oracle stage, I was able to insert.

I'm not able to insert straight away or not by using dataset (instead of sequential file)

Kindly help me to resolve this.


Regards,
Ajitha S
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What does error code -1722 mean?

Learn to look up Oracle error codes, maybe by using the oerr command. This will aid your diagnosis.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
GJ_Stage
Participant
Posts: 131
Joined: Mon Oct 27, 2008 6:59 am

Post by GJ_Stage »

It is not related to DataStage error. Error with out data.

command to find error message :

oerr ora 01722

01722, 00000, "invalid number"
Post Reply