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.

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 statement is used to pass the control from the DL/I to the COBOL program?

A - ENTRY 'DLITCBL' USING pcb-name

B - ENTRY 'DLICBL' USING pcb-name1

C - ENTRY 'CBLTDLI' USING pcb-name1

D - None of these

Answer : A

Explanation

Entry Statement is used to pass the control from the DL/I to the COBOL program. Syntax: ENTRY 'DLITCBL' USING pcb-name

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 - In PCB which field contains the longest possible concatenated key that can be used with the program’s view of the database?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

Answer : C

Explanation

Key feedback area varies in length from one PCB to another. It contains the longest possible concatenated key that can be used with the program’s view of the database.

Answer : A

Explanation

PCB stands for Program Communication Block.

Q 7 - What are the maximum number of fields in a database?

A - 1000

B - 555

C - 755

D - 899

Answer : A

Explanation

Maximum number of fields per database are 1000.

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 - A logical relationship is a path between two segments which are related logically and not physically. State whether true or false?

A - False

B - True

Answer : B

Explanation

This statement is correct.

Q 10 - What error code you will get when program issues a replace call without an immediately preceding get hold call?

A - DJ

B - Spaces

C - DA

D - GF

Answer : A

Explanation

This is self explanatory.

ims_db_questions_answers.htm
Advertisements