Share on Facebook Share on Twitter Email
Answers.com

RPG

 
(ri′pört ¦prō′gram ′jen·ə′rād·ər)

(computer science) A nonprocedural programming language that provides a convenient method of producing a wide variety of reports. Abbreviated RPG.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

(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

Download Computer Desktop Encyclopedia to your PC, iPhone or Android.

 
 
Related topics:
RPGLE (technology)
Rpg (business term)
midrange programmer (technology)

Related answers:
How destructive is an RPG? Read answer...
Is there a Bakugan RPG? Read answer...
What is an online RPG? Read answer...

Help us answer these:
What is RPG mode?
Where is RPG mode?
Which is true about RPG\'s?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

McGraw-Hill Science & Technology Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
TechEncyclopedia. THIS DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2012 The Computer Language Company Inc.  All rights reserved.  Read more

Follow us
Facebook Twitter
YouTube

Mentioned in

» More» More