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

Predefined pattern for accessing data in DL/I is first down the hierarchy, then left to right.

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

A - Packed decimal data type

B - Hexadecimal data type

C - Character data type

D - Half word binary data type

Answer : A

Explanation

TYPE=P specifies Packed decimal 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 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 - At what position we specify two-character relational operator code in a Qualified SSA?

A - 18th position

B - 18th & 19th position

C - 19th position

D - 19th and 20th position

Answer : B

Explanation

After the field name, in the 18th and 19th positions, we specify two-character relational operator code.

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 - 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 - Any field can be used as a secondary key. It need not be the segments sequence field. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 10 - Which of the following programming language is supported by IMS DB?

A - COBOL

B - PL1

C - C

D - All of these

Answer : D

Explanation

All of these programming languages are supported by IMS DB.

ims_db_questions_answers.htm
Advertisements