Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Main Program

A main program is a program unit whose first statement is not a SUBROUTINE, FUNCTION, MODULE, SUBMODULE, or BLOCK DATA statement. Program execution always begins with the first executable statement in the main program, so there must be exactly one main program unit in every executable program. For more information, see PROGRAM.