IMS DB Online Quiz


Advertisements

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

DBD stands for Database Descriptor.

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

A - DLI-GU

B - DLI-GHU

C - DLI-GN

D - DLI-GHN

Answer : D

Explanation

'GHN' code is used for Get Hold Next. Hold function specifies that we are going to update the segment after retrieval. The Get Hold Next function corresponds to the Get Next call.

Q 4 - Which function is used in CICS programs in the IMS DL/I database?

A - DLI-CHKP

B - DLI-XRST

C - DLI-PCB

D - DLI-ISRT

Answer : C

Explanation

PCB function is used in CICS programs in the IMS DL/I database.

Q 5 - At what position we specify two-character relational operator code in a Qualified SSA?

A - 18th position

B - 18th & 19th position

C - 19th position

D - 19th and 20th position

Answer : B

Explanation

After the field name, in the 18th and 19th positions, we specify two-character relational operator code.

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

A - C

B - D

C - F

D - L

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 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 - The prefix part of the index pointer segment contains a pointer to the Index Target Segment. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 9 - A logical relationship is a path between two segments which are related logically and not physically. State whether true or false?

A - False

B - True

Answer : B

Explanation

This statement is correct.

Answer : B

Explanation

MPP stands for Message Processing Program.

ims_db_questions_answers.htm
Advertisements