- 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 - 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
Answer : B
Explanation
PSB stands for Program Specification Block.
Q 3 - Which statement is used to pass the control from the DL/I to the COBOL program?
A - ENTRY 'DLITCBL' USING pcb-name
B - ENTRY 'DLICBL' USING pcb-name1
Answer : A
Explanation
Entry Statement is used to pass the control from the DL/I to the COBOL program. Syntax: ENTRY 'DLITCBL' USING pcb-name
Q 4 - In PCB which field contains the DL/I status code?
Answer : B
Explanation
Status code field contains two bytes of character data. Status code contains the DL/I status code. Spaces are moved to the status code field when DL/I completes the processing of calls successfully.
Q 5 - In PCB which field contains the longest possible concatenated key that can be used with the program’s 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 program’s view of the database.
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.
Answer : A
Explanation
Maximum number of fields per database are 1000.
Answer : A
Explanation
This statement is incorrect as all segments other than the root segment are known as dependent segments.
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 you try to add a segment occurrence that is already present in the database?
Answer : A
Explanation
This is self explanatory.
To Continue Learning Please Login
Login with Google