0

databases Online Quiz - 5

Description: databases Online Quiz - 5
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

What of the following is not a sequential processing?

  1. Using a series of GN calls followed by a GNP call

  2. Using unqualified SSA's with GNP

  3. Using qualified SSA's with GU

  4. Using qualified SSA's with GN

  5. Using no SSA's with GNP


Correct Option: C

Which is not a IMS mode of processing

  1. DLI

  2. BMP

  3. CMP

  4. MPP


Correct Option: C

What segment processing occurs when you issue a DLET?

  1. The original segment is deleted and a status code is returned, prompting the program for further deletes.

  2. The segment at the highest level in the hierarchy is deleted.

  3. The segment is deleted and a new SSA must be specified on the next call.

  4. A delete does not occur unless the correct segment has been called.

  5. The segment and all subordinate segments are deleted.


Correct Option: E

What is the first required call before a replace?

  1. REPL

  2. GHU

  3. ISRT

  4. G

  5. GN


Correct Option: B

GHU SUPPLIER*D(SUPPLRNO=10) PARTSIZE*DN What does IMS do if you use the D and N command codes together as illustrated in the sample code above?

  1. The segment is retrieved, but is not replaced.

  2. The N command code applies only to ISRT calls

  3. An error is raised.

  4. The command code N is ignored.

  5. The segment is retrieved and is replaced.


Correct Option: A

What command code causes more than one segment to be brought into the I/O area with a single call?

  1. C

  2. D

  3. I

  4. L

  5. O


Correct Option: B

What rule must you meet in order to fully qualify the GU call?

  1. The PCB status code must be included.

  2. SSBs must be freed before call.

  3. A get call must be issued first.

  4. SSAs must be included for segments.

  5. Segment name must be specified for SSA


Correct Option: D

What must be completed before a GNP is issued with the database?

  1. All data must be sorted.

  2. All children must be grouped.

  3. The parent must be established

  4. All parents must be grouped.

  5. Finite control must be released.


Correct Option: C

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

Which of the following are not mentioned in DBD

  1. Number of sensitive segments

  2. Dataset

  3. Segment name

  4. Field name


Correct Option: A

Which procopt is used to read from a segment

  1. G

  2. R

  3. I

  4. D

  5. P


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

WS area contains definition of all except

  1. SSA

  2. PCB

  3. Fuction code

  4. IO Area


Correct Option: B

IMS uses what kind of database management

  1. Heirarchical

  2. Network

  3. Relational

  4. Object oriented


Correct Option: A

Segment is the smallest info that DLI can fetch

  1. True

  2. False


Correct Option: B

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

CALL 'CBLTDLI' USING ?? i-o area pcb mask SSA Referring to the code above, what is the first parameter coded on the DL/I CALL?

  1. The return code area

  2. The programming language

  3. The segment length

  4. The access type

  5. The DL/I function code


Correct Option: E
- Hide questions