Nested compound statements can be use to give users more control over which statements execute following an error and which do not.
See SQL Anywhere 11.0.1 > 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.