RPG Specifications [ HP RPG/XL Programmer's Guide ] MPE/iX 5.0 Documentation
HP RPG/XL Programmer's Guide
RPG Specifications
Specifications are the source code for RPG programs. There are different
kinds of specifications, each used for a particular function. For
example, you use Output Specifications to define and describe data to be
printed on a report. The specifications are listed below in the order
that you enter them into a program:
Specification Description
Header (H) Sets RPG compiler options, certain
indicators and the collating sequence.
File Description (F) Describes the files used in the program.
File Extension (E) Defines arrays and tables, and gives
additional information about certain
types of files.
Line Counter (L) Defines printer page lengths, overflow
lines and channel numbers.
Input (I) Defines input records and data fields
used in the program.
Calculation (C) Defines computations and other operations
to be performed.
Output (O) Defines output records and data fields
used in the program.
Array/Table File Name (A) Names a file which contains a
compile-time array or table.
MPE/iX 5.0 Documentation