Tag: databases

Questions Related to databases

  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


Correct Option: D
  1. access method

  2. segment name

  3. parameter

  4. key field length


Correct Option: C

Proc opt for path call

  1. C

  2. P

  3. D

  4. K

  5. L


Correct Option: B
  1. Number of sensitive segments

  2. dataset

  3. Segment name

  4. Key value


Correct Option: B
  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


Correct Option: D
  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.


Correct Option: C

The first statement in a COBOL IMS program

  1. DLITCBL

  2. CBLTDLI

  3. GOBACK

  4. PCB mask

  5. DBD


Correct Option: A

AI Explanation

To answer this question, we need to understand the different elements involved in a COBOL IMS program.

Option A) DLITCBL - This option is incorrect. "DLITCBL" is not a valid COBOL IMS program statement.

Option B) CBLTDLI - This option is incorrect. "CBLTDLI" is not a valid COBOL IMS program statement.

Option C) GOBACK - This option is incorrect. "GOBACK" is a COBOL statement used to terminate a program, but it is not specific to IMS programs.

Option D) PCB mask - This option is incorrect. "PCB mask" refers to the Program Control Block (PCB) mask used in IMS programs, but it is not the first statement in a COBOL IMS program.

Option E) DBD - This option is incorrect. "DBD" refers to the Database Descriptor (DBD) used in IMS programs, but it is not the first statement in a COBOL IMS program.

The correct answer is A) DLITCBL. This option is correct because "DLITCBL" is the first statement in a COBOL IMS program. It is used to initiate the IMS environment and establish communication between the COBOL program and the IMS 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


Correct Option: E
  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


Correct Option: B