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=X parameter specifies?

A - Packed decimal data type

B - Hexadecimal data type

C - Character data type

D - Half word binary data type

Answer : B

Explanation

TYPE=X specifies Hexadecimal data type for the field which we have declared.

Q 3 - Which is used to pass the control back to the IMS control program?

A - RETURN

B - GOBACK

C - BACK

D - None of these

Answer : B

Explanation

GOBACK is used to pass the control back to the IMS control program.

Q 4 - Which function is used is used to replace a segment in the IMS DL/I database?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

Answer : D

Explanation

'REPL' code is used for Get Hold Next within Parent. The Replace function is used to replace a segment in the IMS DL/I database.

Q 5 - In PCB which field stores the area for its own internal linkage related to an application program?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

Answer : D

Explanation

Reserved DL/I is known as the reserved area of the IMS. It stores four bytes binary data. IMS uses this area for its own internal linkage related to an application program.

Q 6 - What command code we used to code for Path Call Ignore?

A - N

B - P

C - Q

D - U

Answer : A

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for Path Call Ignore we code N at 10th 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 an AND (* or &) operator is used with secondary indexes, it is known as a dependent AND operator. 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 you try to add a segment occurrence that is already present in the database?

A - II

B - Spaces

C - DA

D - GF

Answer : A

Explanation

This is self explanatory.

ims_db_questions_answers.htm
Advertisements