- IMS DB - Home
- IMS DB - Overview
- IMS DB - Structure
- IMS DB - DL/I Terminology
- IMS DB - DL/I Processing
- IMS DB - Control Blocks
- IMS DB - Programming
- IMS DB - Cobol Basics
- IMS DB - DL/I Functions
- IMS DB - PCB Mask
- IMS DB - SSA
- IMS DB - Data Retrieval
- IMS DB - Data Manipulation
- IMS DB - Secondary Indexing
- IMS DB - Logical Database
- IMS DB - Recovery
IMS DB Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to IMS DB Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - Through which segment all dependent segments are accessed?
Answer : C
Explanation
A segment that lies at the top of the hierarchy is called the root segment. It is the only segment through which all dependent segments are accessed.
Q 2 - What does ACB stands for?
Answer : A
Explanation
ACB stands for Access Control Block.
Q 3 - Which function is used to get a unique record for update purpose?
Answer : B
Explanation
'GHU' code is used for Get Hold Unique. Hold function specifies that we are going to update the segment after retrieval. The Get Hold Unique function corresponds to the Get Unique call.
Q 4 - In PCB which field is used to store the level of the segment that was processed?
Answer : A
Explanation
Segment level is known as Segment Hierarchy Level Indicator. It contains character data and is two bytes long. A segment level field stores the level of the segment that was processed. When a segment is retrieved successfully, the level number of the retrieved segment is stored here.
Q 5 - Which SSA provides the name of the segment being used inside the call?
Answer : B
Explanation
An unqualified SSA provides the name of the segment being used inside the call.
Answer : C
Explanation
To use command codes, specify an asterisk in the 9th position of the SSA and for First Occurrence we code F at 10th position.
Answer : B
Explanation
To use command codes, specify an asterisk in the 9th position of the SSA and for Set Parentage we code P at 10th position.
Q 8 - Within the IMS Database, there is only one occurrence of each segment type, but there can be an unlimited number of occurrences of each segment type. State whether true or false?
Answer : B
Explanation
This statement is correct.
Q 9 - In Forward Recovery, DL/I uses the log file to store the change data. The accumulated transactions are re-posted using this log file. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 10 - What error code you will get when program issues a replace call without an immediately preceding get hold call?
Answer : A
Explanation
This is self explanatory.