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

How can you submit a job through cobol program?

1147


How may sets be ordered?

504


What is the difference between record occurrence and record type in idms?

466


What is a set in idms?

469


What is idms-restart ?

1091






Explain the difference between local and central version operating modes?

475


If you are current on the owner of a set, what is the difference between an obtain next and obtain first in idms?

490


What does a rollback do in idms?

530


What is an area sweep and when is it used?

1078


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

988


Explain about find and obtain commands?

533


Difference between fixed length and variable length records.

493


Does Disconnect and Connect creates page lock in IDMS ?

1018


What is a set? What pointers are required, what are possible? How may sets be ordered?

979


What is the difference between fixed length and variable length records?

519