double quotes

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
kavuri
Premium Member
Premium Member
Posts: 161
Joined: Mon Apr 16, 2007 2:56 pm

double quotes

Post by kavuri »

Hi,
I am having some of the fields Varchar and date fields are enclosed by double quotes in my terget csv files. I want to eliminate them. How can I do this?

Thanks
Kavuri
VCInDSX
Premium Member
Premium Member
Posts: 223
Joined: Fri Apr 13, 2007 10:02 am
Location: US

Post by VCInDSX »

Kavuri,
Can you provide some more details about your job design?
Are you reading from a source, transforming and writing to a target file and seeing those quotes or....??
If your target is a sequential file stage, set the "Quote" property in the "Format" tab to "none".

Good luck,
-V
solaik
Participant
Posts: 12
Joined: Sun Jan 23, 2005 10:33 pm

Re: double quotes

Post by solaik »

Try this..

Trim(date column, """, "A")

Regards,
Solai

kavuri wrote:Hi,
I am having some of the fields Varchar and date fields are enclosed by double quotes in my terget csv files. I want to eliminate them. How can I do this?

Thanks
Kavuri
kavuri
Premium Member
Premium Member
Posts: 161
Joined: Mon Apr 16, 2007 2:56 pm

Post by kavuri »

I am extracting from a db2 database. i haven't made any modifications but DataStage is giving double quotes around date fields in output csv files.

I need to eliminate them.

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

Post by ray.wurlod »

Change the Quote Character property to None.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kavuri
Premium Member
Premium Member
Posts: 161
Joined: Mon Apr 16, 2007 2:56 pm

Post by kavuri »

Thanks Ray
Post Reply