Terminates an SQL statement in an embedded SQL client COBOL application program.
ANSI Compliance
END-EXEC is ANSI/ISO SQL:2011-compliant.
Required Privileges
None.
Invocation
Nonexecutable preprocessor declaration.
Embedded SQL only.
Syntax
END-EXEC [.]
Usage Notes
- END-EXEC is mandatory for all SQL statements embedded in a client COBOL application program.
The statement terminator for SQL embedded within C and PL/I applications is the SEMICOLON character.
- You cannot use END-EXEC with interactive SQL statements.