Tag: databases

Questions Related to databases

Which of the following is not passed as parameter to the IMS cobol program from JCL

  1. Program name

  2. PSB name

  3. IMS mode of processing

  4. DBD name


Correct Option: D
  1. Number of sensitive segments

  2. Dataset

  3. Segment name

  4. Field name


Correct Option: A
01 UNQUALIFIED-SSA.    
   05 UNIQUE-SSA-SEGMENT-NAME    PIC(8).    
   05 FILLER1                    PIC X VALUE '*-'. 

What does "–" in filler1 specify?

  1. Back to beginning of database

  2. Coding error

  3. No Command code used

  4. Concatenated command code

  5. Symantec error


Correct Option: C
  1. SSA

  2. PCB

  3. Fuction code

  4. IO Area


Correct Option: B
  1. Heirarchical

  2. Network

  3. Relational

  4. Object oriented


Correct Option: A

Command code used to set parentage

  1. P

  2. C

  3. D

  4. U

  5. V


Correct Option: A

AI Explanation

To answer this question, you need to understand the command code used to set parentage. Let's go through each option to understand why it is correct or incorrect:

Option A) P - This option is correct because the command code "P" is commonly used to set parentage. It is used to establish a parent-child relationship between two entities or objects.

Option B) C - This option is incorrect because the command code "C" is not typically used to set parentage.

Option C) D - This option is incorrect because the command code "D" is not typically used to set parentage.

Option D) U - This option is incorrect because the command code "U" is not typically used to set parentage.

Option E) V - This option is incorrect because the command code "V" is not typically used to set parentage.

The correct answer is Option A) P. This option is correct because the command code "P" is commonly used to set parentage between entities or objects.

  1. CALL 'CBLTDLI' USING DLI-ISRT

  2. CALL 'CBLTDLI' USING DLI-GHP

  3. CALL 'CBLTDLI' USING DLI-GU

  4. CALL 'CBLTDLI' USING DLI-GPH

  5. CALL 'CBLTDLI' USING DLI-REPL


Correct Option: D