Object Code File Disposition

A phrase can be included to indicate the disposition of the object code file. The disposition determines whether the object code file is saved or executed. If no disposition is included in the COMPILE statement, a disposition of GO is assumed.

The following are the possible dispositions and their meanings.

Disposition

Definition

GO

The object code file is executed but not saved. If there are syntax errors, execution does not occur.

LIBRARY

The object code file is saved but not executed. If there are syntax errors, the object code file is not saved.

LIBRARY GO

The object code file is saved and also executed. If there are syntax errors, the object code file is not saved or executed.

SYNTAX

The object code file is not saved and not executed. This disposition is used to check the program for syntax errors only.