IMS DB Online Quiz


Advertisements


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

Explanation

PSBGEN stands for Program Specification Block Generator.

Q 3 - Which function is used to get a unique record for update purpose?

A - DLI-GU

B - DLI-GHU

C - DLI-GN

D - DLI-GHN

Answer : B

Explanation

'GHU' code is used for Get Hold Unique. Hold function specifies that we are going to update the segment after retrieval. The Get Hold Unique function corresponds to the Get Unique call.

Q 4 - In PCB which field contains the DL/I status code?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

Answer : B

Explanation

Status code field contains two bytes of character data. Status code contains the DL/I status code. Spaces are moved to the status code field when DL/I completes the processing of calls successfully.

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 - What command code we used to code for Concatenated Key?

A - C

B - D

C - F

D - L

Answer : A

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for concatenated key we code C at 10th position.

Q 7 - Which of them is a control block in IMS DB?

A - DBD

B - PSB

C - ACB

D - All of these

Answer : D

Explanation

This is self explanatory.

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

Answer : A

Explanation

BMP stands for Batch Message Processing.


ims_db_questions_answers.htm

Advertisements