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 levels of hierarchy a DLI database supports?

A - 10

B - 35

C - 20

D - 15

Answer : D

Explanation

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

Answer : B

Explanation

PSBGEN stands for Program Specification Block Generator.

Q 3 - Which function is used to get the next record in sequential order?

A - DLI-GU

B - DLI-GHU

C - DLI-GN

D - DLI-GHN

Answer : C

Explanation

'GN' code is used for the Get Next function. It works similar to the read next statement in COBOL. It is used to fetch segment occurrences in a sequence.

Q 4 - Which function is used to remove a segment from an IMS DL/I database?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

Answer : C

Explanation

'DLET' code is used for the Delete function. It is used to remove a segment from an IMS DL/I database.

Answer : A

Explanation

SSA stands for Segment Search Arguments.

Q 6 - What value you will get in GN call if end of database is reached and segment not found?

A - SPACE

B - ZERO

C - GE

D - GB

Answer : D

Explanation

If end of database is reached and segment is not found then you will get GB value in STATUS-CODE for GN call.

Q 7 - What are the parameters that are used in CBLTDLI call?

A - Function code and PCB mask

B - Segment I/O Area

C - SSAs

D - All of these

Answer : D

Explanation

Function code, PCB mask, Segment I/O Area & SSAs are the parameters used in a CBLTDLI call.

Q 8 - Multiple PCBs can not be defined for a single database. State whether true or false?

A - False

B - True

Answer : A

Explanation

This statement is incorrect as Multiple PCBs can be defined for a single database.

Q 9 - For Unidirectional 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 : B

Explanation

This is self explanatory.

Answer : A

Explanation

BMP stands for Batch Message Processing.

ims_db_questions_answers.htm
Advertisements