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

Answer : A

Explanation

DLI stands for Data Language Interface.

Answer : B

Explanation

PSBGEN stands for Program Specification Block Generator.

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 to add a new segment to the database?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

Answer : B

Explanation

'ISRT' code is used for the Insert function. The ISRT function is used to add a new segment to the database. It is used to change an existing database or load a new database.

Q 5 - What is the length of an unqualified SSA?

A - 8 bytes

B - 10 bytes

C - 9 bytes

D - 12 bytes

Answer : C

Explanation

A basic unqualified SSA is 9 bytes long. The first 8 bytes hold the segment name which is being used for processing. The last byte always contains space.

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

A - N

B - P

C - Q

D - U

Answer : B

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for Set Parentage we code P at 10th position.

Q 8 - The prefix part of the index pointer segment contains a pointer to the Index Target Segment. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 9 - A DL/I records all the changes made by an application program in a file which is known as the 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