Also found in: Dictionary, Acronyms, Wikipedia.
RPG(1) (Role Playing Game) See CRPG.
(2) (Report Program Generator) One of the first program generators designed for business reports, introduced in 1964 by IBM. In 1970, RPG II added enhancements that made it a mainstay programming language for business applications on IBM's System/3x midrange computers. RPG III and RPG IV added more enhancements and have been widely used on the AS/400. RPGLE added the "Integrated Language Environment (ILE)," which enables C, Java and other modules to be integrated into the program.
Until RPGLE, all processing statements were written in strict columnar format. The following RPGLE example changes Fahrenheit to Celsius. The A lines are Data Description Specs (DDS) code. They define a display file and are compiled separately. The F line links the processing code (C lines) to the A lines:
A DSPSIZ(24 80 *DS3) A R FHEITR A CA03(03 'End') A 6 18'Enter Fahrenheit:' A FRHEIT 3Y 0B 6 42DSPATR(PC) A EDTCDE(J) A 9 18'Celsius is:' A CGRADE 3Y 0O 9 42DSPATR(PC) A EDTCDE(J) A 23 8'F3=End' FFheitd CF E Workstn C *IN03 DoWEq *Off C ExFmt Fheitr C Eval CGrade=0 C Eval CGrade=((Frheit-32)*5)/9 C ExFmt Fheitr C EndDo C Seton LR