Fix Width File read 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
atulgoel
Participant
Posts: 84
Joined: Tue Feb 03, 2009 1:09 am
Location: Bangalore, India

Fix Width File read Error

Post by atulgoel »

I am getting below error while reading a Fix Width File:

Bad record delimiter after fixed-length record: expected "\n", got " "

Record length in my File seems to be okay and is matching with Schema file.

Any idea?
Atul
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's a space ahead of the newline in at least one line. Use a hex editor (such as od -c command) to verify the data structure.
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