× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I use both quite a bit.

CSVR4 is great when you need to be more granular (i.e. you don't trust the data) and/or you just want to deal with a streamfile.
CPYFRMIMPF has really improved over the years... definitely the way to go if you trust the data, and your goal is to get it into a Database file.

I use the latter so much that a wrote an RPG program to read an IFS folder and run CPYFRMIMPF for each "matching" filename into the database filename passed in. It then moves the IFS file (if successful) to a "historical" subfolder.

Parameters are:
IFS Folder
DB Filename
Field delimiter
String delimiter (*NONE or *DBLQUOTE)
Column Header (Y or N)
History IFS Folder
String (to match in IFS Filename)


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Thursday, February 8, 2024 2:59 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Quoted string in CSV data

I'll check out CPYFRMIMPF and Scott's CSVR4, and see which one I like better.

Thanks guys!
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.