Nested compound statements provide more control over which statements execute following an error and which do not.
See SQL Anywhere Server - SQL Usage > Stored Procedures and Triggers > Using procedures, triggers, and batches > Errors and warnings in procedures and triggers > Nested compound statements and exception handlers.