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

Answer : A

Explanation

DLI stands for Data Language Interface.

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 - Which function is used to retrieve segment occurrences in sequence subordinate to an established parent segment?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

Answer : A

Explanation

'GNP' code is used for Get Next within Parent. This function is used to retrieve segment occurrences in sequence subordinate to an established parent segment.

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 error code you will get in GU call if DL/I could not find a segment that met the criteria specified in the call?

A - SPACE

B - ZERO

C - GE

D - GF

Answer : C

Explanation

You will get GE value in STATUS-CODE if DL/I could not find a segment that met the criteria specified in the 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 - 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 - 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.

Q 10 - How many DBDs can be there for a single database?

A - 1

B - 10

C - 5

D - No Limit

Answer : A

Explanation

One DBD is generated for a single database.

ims_db_questions_answers.htm
Advertisements