The STOP statement allows you to raise the STOP condition.

Syntax

STOP.

The STOP condition can be handled by the following constructs, in this order of precedence:

  • An appropriate CATCH block
  • An ON STOP phrase
  • Default stop handling