× 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.



On Tue, Mar 27, 2018 at 2:06 PM, Rob Berendt <rob@xxxxxxxxx> wrote:
I failed to see anything in there to handle errors like
- I'm trying to store it into a numeric but it's alpha.
- My column is only 15 characters but they are sending me 25.
- Or the error the OP was having.

He did say that RDi imported it, and he did not mention getting any
errors when doing it that way.

So it is very possible that the data is right, and that CPYFRMIMPF is
having its own issues.

It certainly is also possible that RDi is doing something wrong, and
doing it silently. But until and unless that has been identified,
there's not much point in putting in additional code. As it stands, a
breaking error will automatically generate an exception, which is what
you want until you get a chance to see what the nature of the error
was, and then decide whether to add code to handle it silently.

The point was to provide a reference for comparison with other
solutions. However much extra code you would need to add for
error-handling, you'd need to add that much or more in another
language. And if the data is clean, then there's already working code
for you, in 20-ish lines of Python.

John Y.

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.