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



Hi Everyone,

I thought I would ask the group this question instead of writing a whole
bunch of test programs to see what would happen.

We have a bought package that uses an RPG III program to copy data from an
input file to an output file.  The input file occasionally has decimal
data errors.  The RPG III program does not handle decimal data errors so
it crashes with the ugly RPG0907 - (C G S D F) on the user screen.

I could write a data validation program that runs before this program but
I'm wondering if there is a way to avoid this.

If this program was ILE, I could have a program call it so the error
percolates upwards and I could handle it there.

But this program is not ILE so even if it's called by an ILE program, I
assume the error does not get percolated and the user will get an error
message immediately.

I think the same holds true if I write and register a condition handler. 
It would not take affect because the program with the error is OPM.

Am I correct in my assumptions above?

Any ideas?

Tks,

Glenn Gundermann
ggundermann@xxxxxx
Cell: (647) 272-3295

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.