×
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.
GIGO rocks! I pretty much expect an import utility to just
quietly stuff whatever junk into the database file, instead of
failing with any error messages ;-)
To determine what records did not import, use the ERRRCDFILE. Or
perhaps force the request to fail immediately upon the first data
error using ERRLVL(0) versus asking the import to attempt ploughing
through to the end of file per the default of ERRLVL(*NOMAX). Using
the ERRLVL(0), one record beyond the number of rows inserted\copied
to the database file is the "record number" causing a problem. Of
course a "record number" may be ambiguous for a stream file with
delimited "row" data; i.e. EOR embedded in a delimited field may be
counted as a "record" for a utility recognizing only those EOR
without regard to any field data delimiters.
Regards, Chuck
Alan Campin wrote:
I always hate to use CPYFRMIMPF. Any variations and it crashes
and no idea why. That is why I always write code so that I
gracefully deal with the garbage.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.