× 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 like the ease with which I can use CPYFRMIMPF to get data out of CSV and into a fielded file.  I hate parsing data, checking for escape characters and doubled delimiters and so on.  But I only use them for the initial parsing, basically just stripping quotes and breaking up commas. I then import the individual data fields myself, which lets me report conversion errors, missing data, etc.

One of these days I'll look at implementing the OA approach Jon and Susan have championed for some time.


On 6/4/2020 7:59 AM, Rob Berendt wrote:
Jon,
I started to loathe the CPYxxxIMPF type commands when they would blow up with each new release because of enhancements to ccsid, etc.
I too encouraged people to bypass them and read/write directly. Not only do you bypass IBM's "enhancements" but you also get better performance and granularity on error trapping (ie row such and such of the stream file, column such and such is invalid for inclusion on our system because ... type of stuff).

However I can see how some may like those commands for ease of use and want to submit RFE's.

Rob Berendt



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.