IMS Database Fundamentals

Test your knowledge of IMS (Information Management System) database concepts, including segments, DBD, PSB, processing options, and hierarchical database management.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is true about DBD ?

  1. multiple DBD s for each database
  2. none of these
  3. cannot be used by DL/I
  4. created by a process called DBDGEN
Question 2 Multiple Choice (Single Answer)

A segment has 3 occurrences for a parent. This segment is called a

  1. multiple
  2. twin
  3. sibling
  4. none of these
Question 3 Multiple Choice (Single Answer)

What information is not included in DBD

  1. access method
  2. segment name
  3. parameter
  4. key field length
Question 4 Multiple Choice (Single Answer)

IMS Db uses what kind of database management

  1. network
  2. relational
  3. hierarchical
  4. object-oriented
Question 5 Multiple Choice (Single Answer)

What is the advantage of IMS DB?

  1. Faster access
  2. easy implementation
  3. high flexibility
  4. simple management
Question 6 Multiple Choice (Single Answer)

Which of the following is true about DBD ?

  1. multiple DBD s for each database
  2. cannot be used by DL/I
  3. created by a process called DBDGEN
  4. none of these
Question 7 Multiple Choice (Single Answer)

A segment has 3 occurrences for a parent. This segment is called a

  1. multiple
  2. twin
  3. sibling
  4. none of these
Question 8 Multiple Choice (Single Answer)

IMS Db uses what kind of database management

  1. network
  2. relational
  3. hierarchical
  4. object-oriented
Question 9 Multiple Choice (Single Answer)

What is the advantage of IMS DB?

  1. Faster access
  2. easy implementation
  3. high flexibility
  4. simple management
Question 10 Multiple Choice (Single Answer)

Which of the following is true about DBD ?

  1. multiple DBD s for each database
  2. none of these
  3. cannot be used by DL/I
  4. created by a process called DBDGEN
Question 11 Multiple Choice (Single Answer)

A segment has 3 occurrences for a parent. This segment is called a

  1. multiple
  2. twin
  3. sibling
  4. none of these
Question 12 Multiple Choice (Single Answer)

What information is not included in DBD

  1. access method
  2. segment name
  3. parameter
  4. key field length
Question 13 Multiple Choice (Single Answer)

Proc opt for path call

  1. C
  2. P
  3. D
  4. K
  5. L
Question 14 Multiple Choice (Single Answer)

Which of the following are not mentioned in PSB

  1. Number of sensitive segments
  2. dataset
  3. Segment name
  4. Key value
Question 15 Multiple Choice (Single Answer)

SENSEG NAME=CUSTOMER,PARENT=0, PROCOPT=K Referring to the code above, what is the purpose of the SENSEG statements?

  1. To provide the database name
  2. To name the fields in the DBD
  3. To tell the program the data field segment sense sizes during any process stage
  4. To identify the segments in the database to which the application program is sensitive
Question 16 Multiple Choice (Single Answer)

You issue a GNP call from a program and receive a status code of GP. Referring to the above scenario, which one of the following describes the cause of this error?

  1. The segment level specified is not lower than the level of the established parent.
  2. There are no more segments for this message.
  3. The program has issued a call where no parent segment exists.
  4. An invalid length has been detected on a variable length record.
Question 17 Multiple Choice (Single Answer)

The first statement in a COBOL IMS program

  1. DLITCBL
  2. CBLTDLI
  3. GOBACK
  4. PCB mask
  5. DBD
Question 18 Multiple Choice (Single Answer)

What is the difference in coding between inserting segments into an existing database and loading a database?

  1. The SSA must be qualified
  2. There is no difference.
  3. The key sequence of the data in loading
  4. There is no need for parentage in loading.
  5. The PCB processing options
Question 19 Multiple Choice (Single Answer)

CALL ‘CBLTDLI’ USING ‘GU ‘ LS-PCB-MASK, WS-IO-AREA SEGMENTA*P SEGMENTC Based on above code what will be retrieved

  1. Will retrieve segment C and parentage will be set at segment C
  2. Will retrieve segment C and parentage will be set at segment A
  3. Will retrieve segment A and parentage will be set at segment A
  4. Will retrieve segment A and parentage will be set at segment C
  5. Error out
Question 20 Multiple Choice (Single Answer)

What status code is returned when a segment insert attempted duplicate insert?

  1. LS
  2. A
  3. IS
  4. L
  5. II