Delimiter

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
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

Delimiter

Post by naren6876 »

Hi All,

How can we use 3 characters(@#$) as field delimiter while reading a text file using Sequential file stage either in server or parallel.

But, I checked the documentation and it says it will allow only one ASCII character.

Please shed some light on this.

Thanks in advance.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No light to shed. The documentation is correct.
It can not be done in a Sequential File stage, unless that stage has a filter command to convert the three different delimiter characters to a consistent one.
Otherwise read each line from the file as a single string (for example if you need to preserve the actual delimiter characters) and parse in a downstream Transformer stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

PX jobs can do it.
Mamu Kim
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

Post by Ravi.K »

Delimiter String may help you at PX jobs.
Cheers
Ravi K
Post Reply