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



Joe,

You can easily eliminate all of the numeric indicators from the RPG program so that they aren't required for a subfile. You'd still have indicators in the RPG, but they'd have useful names like "ClearSfl" and "DisplaySfl" and stuff like that. The usual reason that people want to eliminate indicators is because names like "*IN67" aren't very meaninful and make programs hard to follow.

In that scenario, you'd still have numeric indicators in the DDS code, but they'd be "mapped" to nice names in the RPG code.

Is that what you're looking for?

Or, do you really want to eliminate all indicators completely? You probably COULD do that, but you'd lose a lot of functionality. For example, you wouldn't be able to clear the subfile. You wouldn't be able to use SFLNXTCHG to mark subfile records so the next READC will see them. You wouldn't be able to use SFLEND to display a nice scrollbar or "bottom/More..." for your subfile.

Granted, you could write your own code to replace any/all of this functionality -- but it simplifies everything if you don't have to. The point behind DDS and high-level languages is to do a lot of the work for you so you don't have to write everything yourself from the ground up.

My recommendation is to work on eliminating the indicators from the RPG code, and leaving the ones in the DDS. This makes the RPG code more readable (which is usually what's needed) while still enabling all of the functionality of the DDS.


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.