They won’t Believe these are your System i Applications!BCD’s Presto instantly Web Enables 5250 Apps with NO RPG, Cobol or DDS code changes. It uses zero 5250 OLTP, add images, graphs, links…, it supports multi-environments & multi-languages, and it offers an unlimited user option. Learn more & Try Presto today ! Read More >>
You've heard a lot about coding without indicators and perhaps even seen some code, but this article will show how the techniques can make you a better developer.
By Joe Pluta
RPG programmers have a long and storied relationship with indicators. Certainly, it can be argued that without indicators there would be no RPG. However, it's been argued for some time now that we should write RPG with no indicators. In fact, some would argue that the only indicator you should ever see in an RPG program is *INLR: the last record indicator, which we still use to signal the end of a program. But does removing indicators have a real, practical benefit, or is it more of a theoretical exercise in "better programming"? This article provides a real example that proves the usefulness of the indicator-free programming style.
This article is the fifth in a series that discusses how to find all *PGMs and *SRVPGMs that have a specific *MODULE bound into them. Today, we're adding support to the MODUSAGE program for *MODULEs that are bound into *PGMs.
Before reading this article, you may find it beneficial to review the previous articles: