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



You seem to have pulled a "Dr. Watson" on this one, having missed nearly everything of significance that differentiates RPG from other languages.

How about:

RPG IV is the most current dialect of the RPG language, a high-level language that is very closely integrated with the native record-level database access on IBM midrange systems. It is unique in several respects, including a syntax totally dissimilar to that of any other high-level language (albeit modified somewhat with the "free" mode, largely derived from PL/I, that was recently added), the relative ease of calling external programs whose names are not known at compile-time, the extreme difficulty in accessing files whose names and structures are not known at compile-time, and a feature known as "The Cycle," an implicit do-while loop that can also have implicit read operations on one or more files. This "Cycle" can be tied to a designated "primary file," in which case the program implicitly reads each record of this file (and possibly also from one or more designated "secondary files"), and executes once for each primary file record, or it can be terminated by explicitly setting on a built-in logical variable, the "LR Indicator," to indicate that the program is to terminate. An RPG program can also be terminated, but left active, with its static variables preserved until the next time it is called, by explicitly RETURNing to the calling program without setting this "LR Indicator." Unlike earlier dialects of RPG, RPG IV is a part of IBM's Integrated Language Environment, a system of mutually compatible compilers in multiple languages. This allows a mixed-language application including RPG code to be statically linked into a single program, which can then execute much more quickly than an application that is constantly making external calls between multiple programs.

--
JHHL

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.