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

Function

Completes the corresponding section or paragraph.

Syntax

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

Description

Each END-section command completes the corresponding BEGIN‑section command:

Each command must begin on its own line.

Note:

END-EXECUTE (and BEGIN-EXECUTE) is only required when additional information about the datasource or query is needed, such as 'Connection', 'Schema', 'Command' ,'GetData', 'Procedure', or 'Parameters'.

Examples

begin-program
  do main
end-program

See Also