The File Section must contain a level indicator for each input and output
file.
- For all files except sort/merge, the File Section must contain an FD entry.
The last clause of an FD entry must be immediately followed by a separator
period.
- For each sort or merge file, the File Section must contain an SD entry.
The last clause of an SD entry must be immediately followed by a separator
period.
- file-name
- Must follow the level indicator (FD or SD), and must be the same as
that specified in the associated SELECT clause. The file-name must adhere
to the rules of formation for a user-defined word: at least one character
must be alphabetic. The file-name must be unique within this program.
One or more record description entries must follow the file-name. A record description entry may describe a type-name. Each
entry, which is not a type-name, implies a redefinition of the same storage
area.
The clauses that follow file-name are optional; they may appear
in any order.