- IMS DB Basics Tutorial
- 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 Useful Resources
- IMS DB - Questions And Answers
- IMS DB - Quick Guide
- IMS DB - Useful Resources
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=H parameter specifies?
Answer : D
Explanation
TYPE = H specifies Half word binary data type for the field which we have declared.
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 - 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 store the name of segment after each DLI call?
Answer : D
Explanation
SEG Name is known as segment name feedback area. It contains 8 bytes of character data. The name of the segment is stored in this field after each DL/I 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.
Q 7 - The function of transaction manager is to provide a communication platform between the database and the application programs. IMS acts as a transaction manager. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Answer : A
Explanation
This statement is incorrect as all segments other than the root segment are known as dependent segments.
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 error code you will get when program makes a change to the segment’s key field before issuing the REPL or DLET call?
Answer : C
Explanation
This is self explanatory.
To Continue Learning Please Login
Login with Google