Entering content frame

 CANCEL Statement 

Use

Use the CANCEL statement to cancel the processing of an SQL statement by the database kernel. This means that the SQL statement has no effect.If successful, the CANCEL statement has the return code sqlcode 0. The canceled statement has the sqlcode –102.

Syntax

EXEC SQL CANCEL [<cancel_session>];

<cancel_session> ::= <session_number> | <session_name> | CURRENT

 

Leaving content frame