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 - Which segment lies at the top of the hierarchy?

A - Twin Segment

B - Child Segment

C - Root Segment

D - None of these

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?

A - Packed decimal data type

B - Hexadecimal data type

C - Character data type

D - Half word binary data type

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?

A - RETURN

B - GOBACK

C - BACK

D - None of these

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?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

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?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

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?

A - 10th position

B - 9th position

C - 11th position

D - 12th position

Answer : A

Explanation

Command code is coded at the tenth 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 - 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?

A - False

B - True

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?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Answer : B

Explanation

MPP stands for Message Processing Program.

ims_db_questions_answers.htm
Advertisements