DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic has been marked "Resolved."
Author Message
sjfearnside



Group memberships:
Premium Members

Joined: 03 Oct 2007
Posts: 277

Points: 1999

Post Posted: Tue Feb 11, 2020 6:24 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
Additional info: 11.5.1
When writing to Amazon S3 we have the fields delimited by a comma (,). The rows are enclosed in double quotes. The Quotation Mark property in the S3 stage controls the column quotations. is there a property or setting that will turn off the double quotes for the rows?

Ex: this is what Amazon S3 admin is seeing in the S3 files
" LCLS,306048214593355542501394290,20-JAN-20 02.39.14.565007 PM "
" LCLS,994570338530973782655923294,20-JAN-20 02.43.28.350008 PM "
" LCLS,234645550397601429848923658,20-JAN-20 03.24.18.888892 PM "

Thanks
jhmckeever



Group memberships:
Premium Members

Joined: 14 Jul 2005
Posts: 300
Location: Melbourne, Australia
Points: 3063

Post Posted: Tue Apr 14, 2020 9:47 pm Reply with quote    Back to top    

You need to specify the 'Row delimiter' under the 'File format' section on the Stage - Properties tab.

Options are:
    Carriage return <CR>
    Line feed <LF>
    New line <NL>
    Tab <TAB>
    Unicode escape string


For double quotation mark I believe you need to use the \u0022

_________________
John McKeever
Data Migrators
MettleCI - DevOps for DataStage
Rate this response:  
Not yet rated
sjfearnside



Group memberships:
Premium Members

Joined: 03 Oct 2007
Posts: 277

Points: 1999

Post Posted: Wed Apr 15, 2020 7:47 am Reply with quote    Back to top    

Thanks
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours