INCLUDE prog

INCLUDE prog

Effect

Includes the program prog in the main program for syntax check and generation purposes.
Include programs are used to divide very large programs into smaller more manageable units. They also allow you to create common program components.

Example

INCLUDE LSPRITOP.

The whole of an INCLUDE statement must appear on one line where it is the only statement allowed.