Page 1 of 1

double quotes

Posted: Tue Sep 18, 2007 9:38 am
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

Posted: Tue Sep 18, 2007 10:01 am
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,

Re: double quotes

Posted: Tue Sep 18, 2007 10:08 am
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

Posted: Tue Sep 18, 2007 11:54 am
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

Posted: Tue Sep 18, 2007 4:59 pm
by ray.wurlod
Change the Quote Character property to None.

Posted: Wed Sep 19, 2007 7:17 am
by kavuri
Thanks Ray