Sequencial file 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
arnie_nits
Participant
Posts: 101
Joined: Mon Aug 13, 2007 2:32 am

Sequencial file error

Post by arnie_nits »

Hi,

I am unable to read data into a sequential file.
Error: Bad trailing quote character at field "DateDrawn"; looking for '34' but found '0', at offset: 161

DateDrawn is a timestamp field
Not getting any clue of it . Plz Help.

Thanks
Arnie
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Char(34) is the double-quote character, which is expected in position 161 of the line to close off the "DateDrawn" field but which is not present in the data. Open that file in your favorite editor and analyze the line in error. Most likely some field on that line is shorter/longer.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Does "read data into" mean you are writing to a file? Or simply trying to read it? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
arnie_nits
Participant
Posts: 101
Joined: Mon Aug 13, 2007 2:32 am

Post by arnie_nits »

Thanks for the reply.

Actually the i/p to the sequencial file is the o/p from a server job sequencial file. And surprisingly I am able to read that with a server seq file and not with aparallel seq file.Really confused!!

Thanks,
Arnie.
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

Parallel job sequential file stages are much more "fussy" about datatype and format than server jobs, as you've just experienced :)
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
Post Reply