Solved

Transfer iSeries file to .csv file without quotation marks

Posted on 2011-03-16
4
1,566 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now