END-PROCEDURE, END-PROGRAM, END-SELECT, END-SETUP, END-SQL, END-WHILE

Syntax

END-PROCEDURE END-PROGRAM END-SELECT END-SETUP END-SQL END-WHILE

Description

Completes the corresponding section or paragraph.

Each END- command completes the corresponding BEGIN- command:

BEGIN-PROCEDURE
BEGIN-PROGRAM
BEGIN-SELECT
BEGIN-SETUP
BEGIN-SQL
WHILE

Each command must begin on its own line.

Example

The following example illustrates the END-PROGRAM command:

begin-program
   do main
end-program

See BEGIN-section, WHILE