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 different types of segment can be there in a DLI database?

A - 15

B - 255

C - 355

D - 155

Answer : B

Explanation

A DL/I database can have 255 different segment types and 15 levels of hierarchy

Answer : B

Explanation

PSB stands for Program Specification Block.

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 - In PCB which field contains the DL/I status code?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

Answer : B

Explanation

Status code field contains two bytes of character data. Status code contains the DL/I status code. Spaces are moved to the status code field when DL/I completes the processing of calls successfully.

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.

Q 6 - What command code we used to code for Last Occurrence?

A - C

B - D

C - F

D - L

Answer : D

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for Last Occurrence we code L at 10th position.

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 - All segments are known as dependent segments. State whether true or false?

A - False

B - True

Answer : A

Explanation

This statement is incorrect as all segments other than the root segment are known as dependent segments.

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 - 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