HP RPG/XL Programmer's Guide (30318-90001)

9- 2
You can use the $COPY/$INCLUDE statements to get field definitions
from a source library (see "Using Source Libraries" in Chapter 6).
For RPG programs running under MPE V, fields that are not used in a
program increase the size of the data space at both compile-time and
run-time.
Standardizing the Use of Indicators
Use this indicator: For:
01-09 Input Specification records
10 Input Specification flush indicator
11-19 Input Specification fields
20-59 General-purpose Calculation Specification
operations
60-69 CHAIN or READ resulting indicators
70-79 External subroutines.
80-89 Exception output
90-98 Work (reusable) indicators
99 First-time indicator
Standardizing File Names
Use this prefix For this type of file:
(or suffix):
B Batch
C Catalog
D Data
I Input
J Job
K KSAM key
N Notes
P Executable program
R RAF
S Source programs or sorted output
T Temporary
W Work
Standardizing MPE Group Names
Use this Group name: For:
DATA MPE, KSAM, TurboIMAGE files; operator logon group
DOC User documentation
FORMS VPLUS and SIGEDITOR forms
JOB Job streams
PROGRAM Executable programs
PUB UDCs, user notes, temporary and scratch files
SOURCE Source programs, schemas and program documentation
Entering Efficient Specifications
The next five sections suggest ways to code RPG Specifications that will
reduce the size of your program and make it execute faster.
Header Specification