- 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 - How many different types of segment can be there in a DLI database?
Answer : B
Explanation
A DL/I database can have 255 different segment types and 15 levels of hierarchy
Q 2 - What does ACB stands for?
Answer : A
Explanation
ACB stands for Access Control Block.
Q 3 - What does DLITCBL stands for?
Answer : A
Explanation
DLITCBL stands for DL/I to COBOL. The entry statement is used to define the entry point in the program.
Q 4 - Which function is used in CICS programs in the IMS DL/I database?
Answer : C
Explanation
PCB function is used in CICS programs in the IMS DL/I database.
Q 5 - In PCB which field is used to report the length of the concatenated key of the lowest level segment processed during the previous call?
Answer : A
Explanation
Length FB key is known as the length of the key feedback area. It stores four bytes of binary data. This field is used to report the length of the concatenated key of the lowest level segment processed during the previous call.
Answer : D
Explanation
To use command codes, specify an asterisk in the 9th position of the SSA and for Last Occurrence we code L at 10th position.
Q 7 - What is the retrieval sequence in IMS DB?
Answer : D
Explanation
All these are the approaches which are used for retrieval of data.
Q 8 - It is not possible for a program to maintain multiple positions in a database using a single PCB. State whether true or false?
Answer : A
Explanation
This statement is incorrect as a program can maintain multiple positions in a database using a single PCB.
Q 9 - For Bidirectional Virtual relationship the logical connection goes from the logical child to the logical parent and it cannot go the other way around. State whether true or false?
Answer : A
Explanation
This statement is wrong as Bidirectional Virtual relationship allows access in both the directions. The logical child in its physical structure and the corresponding virtual logical child can be seen as paired segments.
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.