RPG/400 Help


File Description Specifications

File description specifications identify each file used by a program. One file-description specification statement is required for each file in the program.

A maximum of 50 files can be described per program. Only one primary file can be specified; however, the presence of a primary file is not required.

Only one record-address file is allowed per program. You can specify a maximum of eight PRINTER files. The maximum number of other file types is limited only by the maximum number of files allowed for the program.

Program-described files require more entries on the file-description specifications than externally described files. Many of the entries required for a program-described file are part of the external description for an externally described file.

Enter the file-description specifications on the RPG/400 Control and File Description Specifications.

You can specify the following file types:

You enter file-description specifications on the main file description line. Additional details can be entered on the continuation lines.


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