BEGIN-PROGRAM

Syntax

BEGIN-PROGRAM END-PROGRAM

Description

Begins the PROGRAM section of an SQR program.

After processing any commands in the SETUP section, SQR starts program execution at the BEGIN-PROGRAM section. The PROGRAM section typically contains a list of DO commands, though other commands can be used. This is the only required section in an SQR program.

Example

The following example illustrates the BEGIN-PROGRAM command:

begin-program
   do startup
   do main
   do finish
end-program

See BEGIN-REPORT, BEGIN-SETUP, END-PROGRAM