RPG/400 Help

Positions 11-18 (From File Name)

Entry
Explanation
Blank
The array or table is loaded at compilation time, or the array is loaded by input or calculation specifications.
Record address file name
Name of the record address file.
Array or table file name
Name of the array or table file loaded at prerun time.

Use positions 11 through 18 to name an array file, table file, or record address file. File names must begin in position 11. The record address file name must always be entered in these positions. The file name of every prerun-time array or table used in the program must be entered in these positions. Leave positions 11 through 18 blank for compile-time arrays or tables and for run-time arrays loaded with input and/or calculation specifications.

Table "From and To File Name Entries" shows the relationship between positions 11 through 18 and positions 19 through 26.

When an array or table is loaded at compilation time, it is compiled along with the source program and included in the program. Such an array or table does not need to be loaded separately every time the program is run. Only those arrays and tables that contain constant data should be compiled with the program.


[ Top of Page | Previous Page | Next Page | Table of Contents ]