FAQ in IDMS
FAQ in IDMS
FAQ in IDMS
Confidential Page 1 of 5
Frequently Asked Questions For IDMS
What is a region?
Region is used synonymously with area. It is group of logically contiguous pages.
What is a page?
A page is a smallest unit of storage in an IDMS database.
What is difference between the local and central version operating modes?
In local there is no IDMS system running above the DBMS. It’s the most efficient mode but
lacks the recovery and integrity facility of the central version (CV) control program. In CV
many application programs access the database through the single copy of the DBMS.
What is an OOK-Rec?
An OOK-Rec is one of a kind record set, used to get to another record set
What is a set? What pointers are required, what are possible? How many sets be
ordered?
A set is an owner record and, optionally, its member record. There are three types of pointers
next, prior and owner, but only next is required. There are five possible orders for
arrangement of sets; first - insert at beginning, last - insert at end of set, next – insert after
current of set, prior to current of set and sorted - insert according to sort value.
Confidential Page 2 of 5
Frequently Asked Questions For IDMS
What is autostatus?
Autostatus is a protocol mode which causes the expansion of each DML statement to
include a ‘perform IDMS-status’ statement.
What is currency?
Currency is location within the database during run-unit execution. These are the four levels
of currency: current of run-unit is the record occurrence of last successful find or obtain;
current of record type is the most recent of each record type; current of record set is the
most recent within each set and current of area is within each area.
Confidential Page 3 of 5
Frequently Asked Questions For IDMS
If the stored record is not defined as automatic of a set, how can it be stored as a
member of set.
Store the record then connect it to each set where it is a manual member.
So manual and automatic are the connect options for a set. What are the
disconnect options.
Mandatory and optional.
Distinguish among erase, erase permanent, erase selective and erase all.
Erase cancels the membership of a record in a specific set occurrences and removes only the
named record. Erase permanent removes the specific records and all mandatory occurrences
it owns. It disconnects all optional members. Erase selective removes the record, all
mandatory members and all optional members not connected to other sets. It disconnects
those that are connected. Erase all removes the specified record and all mandatory and
optional records it owns.
What are the types of record locks and how are they set?
Locks may be shared or exclusive. Shared means the other run-units can retrieve the record
but cannot modify it. Exclusive means that other run units can neither retrieve nor modify it.
Record locks may be implicit or explicit. Implicit locks are set in the ready statement usage
clause. Explicit locks are set using either the keep statement or keep option of the find/obtain
command.
What does a status return code of nn29 mean in relation to record locks?
nn29 means that two run units are waiting to set locks on the same record and in deadlock.
Why would you use find and get rather than an obtain?
Find tells you whether the record is actually in the database. If it is not found you save the
overhead of an obtain.
When you are obtaining next within a set and get an end of set return code, on
what record are you now current?
You are current on the owner.
What is a bind?
A bind associates record type with the program work area; for run unit and records it is the
first command issued in the program.
Confidential Page 4 of 5
Frequently Asked Questions For IDMS
If you are current on the owner of a set, what is the difference between Obtain
next and Obtain First?
No difference. There is a difference between obtain first and obtain next for an area sweep,
but not when current on the owner in a set.
Confidential Page 5 of 5