What is the purpose of a READY?

Answers were Sorted based on User's Feedback



What is the purpose of a READY?..

Answer / geekshiraj

The Ready statement performs an equivalent function as an
OPEN statement for a conventional file. It makes the
required area of the database available to the program.

The syntax is as follows:

SHARED
READY <area-name> USAGE-MODE IS PROTECTED RETRIEVAL
ALL EXCLUSIVE UPDATE

This statement begins a run-unit.

Is This Answer Correct ?    4 Yes 1 No

What is the purpose of a READY?..

Answer / 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

More IDMS Interview Questions

Explain the difference between record occurrence and record type?

0 Answers  


Distinguish among erase, erase permanent, erase selective and erase all?

0 Answers  


If the stored record is not defined as automatic of a set, how can it be stored as a member of the set?

0 Answers  


Explain the three location modes?

0 Answers  


Explain the difference between a schema and a subschema in idms?

0 Answers  






Discuss some of the terminology of idms.

0 Answers  


What is the advantages of using IDMS compared to other database systems?

0 Answers  


What is the difference between a schema and a subschema in idms?

1 Answers  


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

2 Answers  


What does a rollback do in idms?

0 Answers  


What is an area sweep?

0 Answers  


What is a junction record?

0 Answers  


Categories