RPG

(redirected from Arpeegee)
Also found in: Dictionary.

RPG

(computer science)
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

RPG

(games)
Role-Playing Game.

RPG

(tool)

RPG

(person)
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

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
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.