Solved

Transfer iSeries file to .csv file without quotation marks

Posted on 2011-03-16
4
1,541 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
Comment Utility
How are you performing the transfer?  What tool?

- Gary Patterson
0
 

Author Comment

by:carlaohare
Comment Utility
Hi Gary,

I'm using client access
0
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
Comment Utility
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
Comment Utility
Thanks Gary,

I'll give that a go.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

14 Experts available now in Live!

Get 1:1 Help Now