Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)

LOOK UP ANOTHER TERM


report program generator

See RPG.



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





Personal Use Only

Before/After Your Search Term
BeforeAfter
replay attackreport writer
ReplayTVrepository
Replicareproducer
replicationreprographics
replicatorrepudiation
reportrepurpose
report fileReputation-based Security
report formatrequest for price quotation
report generationrequest for proposal
report generatorrequest to send

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
Audio/VideoGraphics
MainframesSecurity
ProgrammingHealthcare IT
System design