Program record

The program record indicates that a new program in the same source file is being compiled.

Purpose

The program record is used when multiple programs are contained in a single source file. When this record is written, it is assumed that the expanded source line starts over at 1 since it is not required to indicate the first program in the file.
Note: All error records for a program must be displayed after the program record for that program and before any program records for other programs.

Syntax

PROGRAM version line

Parameters

version
The revision of this record, which is used for upward compatibility. The current version is 1.
line
The position in the file where this program starts.