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



Bob Cozzi wrote:
What frustrates me with %EOF(myfilename) is that we (pre-V5R3) had to
read/chain to record formats, open file names, and do %EOF(filename). So a
CHAIN RCDNAM would be followed by %EOF(FILENAME) not obvious unless the
names were, by convention, similar.
RPG IV shouldn't care about record format names for database files. It
should ignore them, and encourage the use of the file name only. If you're
still using multi-format logicals, then fine, that would still work, but for
99% of all code out there, why do you need a format name? It ain't 1983
anymore.

-Bob Cozzi


I agree that it shouldn't care. I want to use format name rather than file name for all. Our logical files are numbered sequentially which makes it difficult to remember which is which when using multiple logicals over the same physical in the same program. By renaming the formats to something meaningful, it's easy to use them in a program until I get to the bifs and have to go find the filename. (Yes, it's easier to find that in WDSC with the outline view, but I can't yet use that in Linux or on a dumb terminal.)

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.