Conversion on a field

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
bobthebuilder
Participant
Posts: 17
Joined: Mon Aug 15, 2005 3:13 pm

Conversion on a field

Post by bobthebuilder »

All,

I have the following job

DB2 Stage ------> Transformer -----> Sequential File

The sequential file is comma delimited. However I have a field which is of type longVarChar and had commas inside the data. I had been getting the "too many columns in a row error" which I could fix by specifying the quote character as "

The sequential file has to be now subjected to cleansing wherein I will have to set the quote character to 000 and the previous error will spring back. Could anyone help me out with this?

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

Post by ArndW »

Is the sequential file comma delimited and do the strings have a valid quote character? If yes, then DS can read it correctly. You will have to specify in the column definition of the source file "column contains delimiters".

Good File format: 1,2,"Hello, Goodbye",4,5
Unusable File format: 1,2,Hello, Goodbye,4,5
Post Reply