What is the purpose of a READY?

Answer Posted / manikandesvaran

READY
Syntax :
READY <area-name> USAGE MODE <sub-mode mode>
sub-mode: SHARED, PROTECTED, EXCLUSIVE
mode: RETRIEVAL, UPDATE
Execution
This statement prepares a database area for access in the specified usage modes. It requests access to database areas, and in turn to records, in various
usage modes. The usage modes indicate the operations the readying run-unit can or cannot perform against the database area. The usage modes can be
specified as follows.
Modes Meaning
RETRIEVAL For read-only operations. Prohibited from issuing STORE,ERASE, MODIFY, CONNECT and DISCONNECT
functions

UPDATE For read as well as update operations. Permitted to issue all DML functions

Sub-modes Meaning
SHARED Permit other run-units to concurrently access the area
PROTECTED Prohibit other run-units from readying in UPDATE mode
EXCLUSIVE Prohibit other run-units from readying in ANY mode
IDMS applies permissibility rules whenever a run unit attempts to ready

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When you are obtaining next within a set and get a end of set return code, on what record are you now current in idms?

460


Explain storage architecture of idms.

499


Explain about area currency?

497


What does a rollback do in idms?

533


What is the meaning of copy idms subschema-binds in idms?

498






What does a store statement do?

1115


What is integrated data dictionary?

538


What are the types of record locks and how are they set?

1223


What is currency in idms?

597


Explain the difference between record occurrence and record type?

1660


What is dbkey? Explain.

489


Define a page in idms?

465


What is the difference between a schema and a subschema?

1439


What is the function of finish in idms?

481


What is the function of commit in idms?

463