extra commas in SEQ file

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
knowledge
Participant
Posts: 101
Joined: Mon Oct 17, 2005 8:14 am

extra commas in SEQ file

Post by knowledge »

Hi ,

I am trying to convert .txt to .csv , it is comma delimited ...

Data looks like this;

"120","120","","7935","221539559","0", "PPM, NJ INC/GAL" ,"PPM, NJ INC/GALE CENTER",""


When I am converting it and viewing it in to datatsage its saying too many columns in record...


I am confused as there are commas inside double quotes , then too I am getting this error..

Please suggest ..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The comma inside the quoted string should not be a problem. Are you certain you told it you had double-quotes for the quote delimiter?
-craig

"You can never have too many knives" -- Logan Nine Fingers
knowledge
Participant
Posts: 101
Joined: Mon Oct 17, 2005 8:14 am

Post by knowledge »

I think the error is due to other data element which has etra double quotes ...

Thanks..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Something you didn't post an example of? Yes, those would be a problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply