EOR character in fixed width file on UNIX

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
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

EOR character in fixed width file on UNIX

Post by ketfos »

Hi,
I am reading from Unix Sequential file - fixed width format and
writing to Oracle table.
I am getting an error while I am writing to the table.

LoadStage.MPNO.InRecord: read_fixedwidth() - row 53161308, column TXT, column unexpectedly ended by EOR

The total number of records in the input file are 63161900.

How do I find the error record?

Thanks
Ketfos
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Go to the columns tab in the sequential file and try setting the attribute Contains Terminators to Yes for column TXT and see if the error still pops up.

HTH
Kris

Where's the "Any" key?-Homer Simpson
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Code: Select all

head -n53151310 yourfile|tail -4
Should be sufficient to scan thru all lines up until 2+ where the issue is reported, then display the last 4 lines. Go get a cup of tea and a biscuit while it runs.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply