- 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 - Which segment lies at the top of the hierarchy?
Answer : C
Explanation
The segment that lies at the top of the hierarchy is called the root segment. The root segment is the only segment through which all dependent segments are accessed.
Q 2 - For FIELD macro statement in DBDGEN, what does TYPE=P parameter specifies?
Answer : A
Explanation
TYPE=P specifies Packed decimal data type for the field which we have declared.
Q 3 - Which is used to pass the control back to the IMS control program?
Answer : B
Explanation
GOBACK is used to pass the control back to the IMS control program.
Q 4 - Which function is used to add a new segment to the database?
Answer : B
Explanation
'ISRT' code is used for the Insert function. The ISRT function is used to add a new segment to the database. It is used to change an existing database or load a new database.
Q 5 - In PCB which field contains the longest possible concatenated key that can be used with the programs view of the database?
Answer : C
Explanation
Key feedback area varies in length from one PCB to another. It contains the longest possible concatenated key that can be used with the programs view of the database.
Q 6 - Where do we code command code in a qualified SSA?
Answer : A
Explanation
Command code is coded at the tenth 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 - When we issue a GU or GN call, the DL/I establishes its parentage at the lowest level segment that is retrieved. If we include a P command code, then the DL/I establishes its parentage at a higher level segment in the hierarchical path. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 9 - Any field can be used as a secondary key. It need not be the segments sequence field. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 10 - What does MPP stands for?
A - Manager Processing Program
B - Message Processing Program
Answer : B
Explanation
MPP stands for Message Processing Program.