The ADD AREA statement generates the source statements needed to define a CA IDMS/DB database area.
If you want to maintain index records in a separate area, you must include one ADD AREA statement for each index area. Specify the ADD AREA statement with the GENERATE statement for the IPSB and with the GENERATE statements for the associated schema and subschema.
Syntax
►►─┬────────────────────────────────┬────────────────────────────────────────► └─ ADD AREA NAME is area-name ───┘ ►─┬──────────────────────────────────────────────────────────────┬──────────►◄ └─ USAGE-mode is ──┬─ PROTECTED ──┬──┬─ RETRIEVAL ◄──┬─── . ───┘ └─ EXCLUSIVE ──┘ └─ UPDATE ──────┘
Parameters
Specifies the CA IDMS/DB database area to be added.
Area-name must be a 1- to 16-character name.
Specifies the usage mode in which an application can ready the area. The usage mode specifies the run-time operations that an application can perform against the CA IDMS/DB database area.
If neither PROTECTED nor EXCLUSIVE is specified, SHARED is the default. SHARED specifies that other concurrently executing applications can access the named area.
PROTECTED prohibits update of the area by another concurrently executing application.
EXCLUSIVE prohibits access to the area by another concurrently executing application.
Permits only retrieval (read-only) access for the database area
Allows all DML functions (STORE, ERASE, MODIFY, etc.) for the database area
|
Copyright © 2013 CA.
All rights reserved.
|
|