Unexpected reasons for failure

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
vardhan354
Participant
Posts: 76
Joined: Wed Jan 25, 2006 6:42 pm

Unexpected reasons for failure

Post by vardhan354 »

I'm doing an initial load Here is what I have done.
Source has 18.6 million records.

Method 1 :
Job1 extract to file (success)
Job2 Load from file (Failed)
lots of warnings and rejects
Error message :Inserted value too large for column, row rejected.
ORA-01722: invalid number.
I used the same meta data information for the sequential file column definition as that of the target table.
I have no clue for the error.

Method 2:
Direct load from database to database.
No warnings or rejects.
Only concern is snapshot too old may occur.



Any suggestions.....
ETL
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Try using something other than a comma for the delimiter - like a tab (009) for instance.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vardhan354
Participant
Posts: 76
Joined: Wed Jan 25, 2006 6:42 pm

Post by vardhan354 »

Excuse my ignorance.How can I keep 'tab' as delimiter.Should I mention 009 in default padding section.

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

Post by ray.wurlod »

Surely ALL reasons for failure are unexpected. Do try to create more meaningful subjects!

What's in the file?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kishore2ds
Participant
Posts: 1
Joined: Fri Aug 03, 2007 12:19 am

Re: Unexpected reasons for failure

Post by kishore2ds »

Hi,
U can try this
In Job1:
Before loding into the staging target file,If u dont have then map one Transformer stage trim the columns as target mttadata lengths
If ColumnName1 contains length 38
Eg:Trim(ColumnName1[1,38])
Post Reply