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 - How many different types of segment can be there in a DLI database?

A - 15

B - 255

C - 355

D - 155

Answer : B

Explanation

A DL/I database can have 255 different segment types and 15 levels of hierarchy

Answer : A

Explanation

ACB stands for Access Control Block.

Answer : A

Explanation

DLITCBL stands for DL/I to COBOL. The entry statement is used to define the entry point in the program.

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 - In PCB which field is used to report the length of the concatenated key of the lowest level segment processed during the previous call?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

Answer : A

Explanation

Length FB key is known as the length of the key feedback area. It stores four bytes of binary data. This field is used to report the length of the concatenated key of the lowest level segment processed during the previous call.

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 is the retrieval sequence in IMS DB?

A - Top to bottom

B - Front to back

C - Left to right

D - All of these

Answer : D

Explanation

All these are the approaches which are used for retrieval of data.

Q 8 - It is not possible for a program to maintain multiple positions in a database using a single PCB. State whether true or false?

A - False

B - True

Answer : A

Explanation

This statement is incorrect as a program can maintain multiple positions in a database using a single PCB.

Q 9 - For Bidirectional Virtual relationship the logical connection goes from the logical child to the logical parent and it cannot go the other way around. State whether true or false?

A - False

B - True

Answer : A

Explanation

This statement is wrong as Bidirectional Virtual relationship allows access in both the directions. The logical child in its physical structure and the corresponding virtual logical child can be seen as paired segments.

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