block(1) — Commands
Digital
NAME
Block − groups elements of a task definition
DESCRIPTION
Blocks are used to delimit transactions, specify statement lists for execution flow control, and define the scope of exception handlers. The types of blocks are:
oStatement block A statement block groups multiple statements into a single unit for an optional common exception handler.
oTransaction block A transaction block identifies a set of transactional operations that execute in the same transaction. A transaction block contains one or more operations performed as a single unit and optionally associates with an exception handler.
Execution flow always begins at the start of a block and cannot be transferred into a block except at the start. However, execution flow can leave a block from anywhere within the block.
RELATED INFORMATION
Syntax: statement_block(1), task_definition(1), transaction_block(1)