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

ACB stands for Access Control Block.

Q 3 - Which parameter specifies the language in which the application program is written in PSBGEN?

A - LANGUAGE

B - LANG

C - WRITE

D - PSBNAME

Answer : B

Explanation

The LANG parameter specifies the language in which the application program is written, e.g., COBOL.

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 define to which level an application program is sensitive?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

Answer : B

Explanation

Number of sensitivity segments store four bytes binary data. It defines to which level an application program is sensitive. It represents a count of number of segments in the logical data structure.

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 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 - 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 - When we build a secondary index, the apparent hierarchical structure of the database is also changed. The index target segment becomes the apparent root segment. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

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