Handling delmiters coming with quote in sequential 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
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Handling delmiters coming with quote in sequential file

Post by g_rkrish »

Hi,

I have an issue in reading the file which comes with

A"|"B"|"C

"|"as delimter it has the quote on it, long time on files so need ur help on handling it.

Tried using ""|"" did not work.

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

Post by chulett »

Now we wait and see if "ur" shows up to help...
-craig

"You can never have too many knives" -- Logan Nine Fingers
g_rkrish
Participant
Posts: 264
Joined: Wed Feb 08, 2006 12:06 am

Post by g_rkrish »

Sorry if my context was not good.I meant all the mebers in the forum to help me out..
RK
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

A pet peeve. You're not chatting with your buds or tweeting so there's no reason to spell "your" like that on a (semi) professional peer-to-peer support site.

Did you try setting the field's delimiter string property to that? Without the extra quotes you have in your post? I would imagine you'd also need to ensure that quotes in general were set to none. If you do that and it still doesn't work, document here what happens.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Note that delimiter and delimiter string are different properties. The delimiter property is limited to a single character, the delimiter string property is not.

So, to reiterate what Craig advised, try setting the delimiter string property to "|".
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