Fatal error when reading the input file

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
vij
Participant
Posts: 131
Joined: Fri Nov 17, 2006 12:43 am

Fatal error when reading the input file

Post by vij »

Hi all,

I get this fatal error when I run my job:
SQ_IN_01,0: Consumed more than 100000 bytes looking for record delimiter; aborting
As specified in th error, in this input file, I have some records and each record occupies about 256KB of data and then comes the record delimiter, UNIX newline.

Is there any way I can read this data without any error/problems?

Thanks in advance!!
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Data would be read only based on the given metadata. If you need these rows, you need to change the metadata accordingly. And re parse it in the job.
What is the datatype? Is it a LOB or Longvarchar?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
vij
Participant
Posts: 131
Joined: Fri Nov 17, 2006 12:43 am

Post by vij »

Thanks for the reply, Kumar.
The datatype is Varchar. should I change the datatype?
length is 258Kb.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Varchar should be ok. If you could able to read the whole record (without any delimiter) as a single row, you can later parse using Transformer stage.
Why do you want to read those records? If your idea is to store it in a separeate file, extending a reject link will do that job.
What is the total length of the record? How did you manage to give the 258Kb in Varchar column?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What delimiter character is used in the file, and what delimiter character is specified in the field level properties?
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