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



Vern,

The ability to test whether a file is open - that is a very good
justification to move this program to ILE.

I would have thought this is an incredibly *minor* reason to move to ILE.
After all, as David has discovered, putting an indicator on the RPGIII OPEN
statement avoids an error anway. Adding your own flag to check this is also
easy.

Frankly, knowing whether a file is already open is something I rarely (if
ever) make use of, unless I know that the procedure in which the OPEN is
coded will be called thousands of times, where, I guess, a 'failed' OPEN
plus the exception check it causes (which is caught be the indicator or
whatever) might make a hit on performance.

All that said, I would run CVTRPGSRC on it.

Rory

On Thu, Feb 4, 2010 at 4:47 AM, Vern Hamberg <vhamberg@xxxxxxxxxxx> wrote:

David

If you can't convert, you can't do it. To do this, you have to convert.
The CVTRPGSRC is easy to run, is it policy never to use ILE? The ability
to test whether a file is open - that is a very good justification to
move this program to ILE. CVTRPGSRC does a minimal conversion, still
looks like OPM with wider columns.

Bon chance!
Vern


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.