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.

Q 2 - For FIELD macro statement in DBDGEN, what does TYPE=H parameter specifies?

A - Packed decimal data type

B - Hexadecimal data type

C - Character data type

D - Half word binary data type

Answer : D

Explanation

TYPE = H specifies Half word binary data type for the field which we have declared.

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 - 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 - In PCB which field contains the longest possible concatenated key that can be used with the program’s 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 program’s view of the database.

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 - How many search fields are allowed in segment?

A - 1

B - 100

C - No Limit

D - 255

Answer : A

Explanation

There can be only one search field in a segment.

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 - 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.

Answer : A

Explanation

BMP stands for Batch Message Processing.

ims_db_questions_answers.htm
Advertisements