Purpose
Overrides the usage mode specified in a dialog's subschema for one or more database areas.
Database areas are readied when a run unit begins (that is, immediately before the execution of the first database-access command issued by a process).
Syntax
►►─── READY ────┬─────────────┬─────┬─────────────────────────────────────────► ├─ area-name ─┤ └─ USAGE-MODE ──┬──────┬────────────────── └─ ALL ◄ ─────┘ ├─ IS ─┤ └─ = ─┘ ►──────────────────────────────────────────────────┬─────────────────────────►◄ ──┬─────┬─────────────┬────┬─ RETRIEVAL ◄ ─┬───┬──┘ │ ├─ PROTECTED ─┤ └─ UPDATE ──────┘ │ │ └─ EXCLUSIVE ─┘ │ │ │ └─ NOREADY ──────────────────────────────────┘
Parameters
Readies the named area in the specified usage mode.
Readies all areas in the specified usage mode.
If neither area-name nor ALL is specified, all areas defined in the dialog's subschema are readied in the usage mode specified in the subschema.
Specifies the usage mode in which the object areas are readied.
IS or = are optional keywords and have no effect on processing.
Prevents concurrent update of the object areas.
Prevents concurrent use of the object areas.
If neither PROTECTED nor EXCLUSIVE is specified, the usage mode is qualified as shared.
Readies the object areas for retrieval only.
RETRIEVAL is the default when neither RETRIEVAL or UPDATE is specified.
Readies the object areas for both retrieval and update.
Indicates that the area or areas named are not to be readied.
Usage
Overview of Usage Modes
Usage modes restrict runtime operations. Database areas can be readied in a retrieval or update usage mode.
Usage modes can be qualified as protected, exclusive, or shared.
Considerations
Note: For more information on the limitations of using the FORCE option with ADS dialogs, see the Area Statement section (in the Subschema Statements chapter) in the CA IDMS Database Administration Guide.
Example 1: Readying an Area
The following example illustrates the use of the READY command:
READY ORDOR-REGION USAGE-MODE IS PROTECTED UPDATE.
Example 2: Specifying That an Area Not be Readied
The following example illustrates the use of the NOREADY option. In this example, the area CUSTOMER-REGION is readied in shared update while the area ORDOR-REGION is not readied.
READY CUSTOMER-REGION USAGE-MODE IS SHARED UPDATE. READY ORDOR-REGION USAGE-MODE IS NOREADY.
|
Copyright © 2014 CA.
All rights reserved.
|
|