Solved

Transfer iSeries file to .csv file without quotation marks

Posted on 2011-03-16
4
1,579 Views
Last Modified: 2013-12-06
Hi,

I am transferring an iSeries file to a .csv file on my PC.
At the moment it puts quotation marks around each field in the .csv file

e.g.
"1","","","","084069685559690","","110315","110315",""

Is it possible to get it to transfer the file without the quotation marks

e.g.
1,,,,084069685559690,,110315,110315,


0
Comment
Question by:carlaohare
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Gary Patterson
ID: 35148438
How are you performing the transfer?  What tool?

- Gary Patterson
0
 

Author Comment

by:carlaohare
ID: 35149019
Hi Gary,

I'm using client access
0
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 35149358
Client Access File Transfer Function doesn't give you any control over the CSV format.  Options:

Download as CSV using CA-FTF tool, and use a PC-based editor (I like NotePad++) to remove all of the double-quote characters.  As long as your data doesn't contain embedded quotes, this works OK.

Download as tab-delimited and use PC-Based editor to replace tabs with commas.

Use CPYTOIMPF commnd to create a delimited file without quotes, and then download the stream file created using FTP, Navigator, NetServer, etc:
CPYTOIMPF FROMFILE(GARYP1/TEST1)
          TOSTMF(test1.csv)    
          STMFCODPAG(*PCASCII)  
          RCDDLM(*CRLF)        
          STRDLM(*NONE)

- Gary Patterson

         

0
 

Author Closing Comment

by:carlaohare
ID: 35149393
Thanks Gary,

I'll give that a go.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question