Technical data

READY
READY
Function
The READY statement begins a database transaction, prepares one or more
database realms for processing, and places each specified realm in a ready mode.
General Format
READY [ realm-name ] . . .
USAGE-MODE IS
CONCURRENT
EXCLUSIVE
PROTECTED
BATCH
RETRIEVAL
UPDATE
RETRIEVAL
UPDATE
CONCURRENT
EXCLUSIVE
PROTECTED
BATCH
WITH WAIT
ON ERROR stment
NOT ON ERROR stment2
END-READY
realm-name
names a subschema realm.
stment
is an imperative statement executed for an on error condition.
stment2
is an imperative statement executed for a not on error condition.
Syntax Rule
The same realm-name cannot be specified more than once in a single READY
statement.
General Rules
1. The READY statement begins a database transaction.
2. Execution of the READY statement is successful only when all specified
realm-names are placed in the ready mode.
Procedure Division 4–49