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.

Questions and Answers

Q 1 - Through which segment all dependent segments are accessed?

A - Twin Segment

B - Child Segment

C - Root Segment

D - None of these

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.

Answer : A

Explanation

ACB stands for Access Control Block.

Q 3 - Which function is used to get a unique record for update purpose?

A - DLI-GU

B - DLI-GHU

C - DLI-GN

D - DLI-GHN

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?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

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?

A - Qualified SSA

B - Unqualified SSA

C - Both A & B

D - None of these

Answer : B

Explanation

An unqualified SSA provides the name of the segment being used inside the call.

Q 6 - What command code we used to code for First Occurrence?

A - C

B - D

C - F

D - L

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 - What command code we used to code for Set Parentage?

A - N

B - P

C - Q

D - U

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?

A - False

B - True

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?

A - False

B - True

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?

A - DJ

B - Spaces

C - DA

D - GF

Answer : A

Explanation

This is self explanatory.

ims_db_questions_answers.htm
Advertisements