0

mainframe Online Quiz - 18

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

Which of the following represents correct ADABAS data storage?

  1. FILE->DATABASE->FIELD->RECORD

  2. FIELD->RECORD->FILE->DATABASE

  3. DATABASE->FILE->FIELD->RECORD

  4. RECORD->FIELD->FILE->DATABASE


Correct Option: B
  1. Default Compression

  2. Fixed Format

  3. Normal Suppression

  4. None of the above


Correct Option: B

ILB (Inclusive Length Byte) is a feature of

  1. Null Suppression

  2. Default Compression

  3. Fixed Format

  4. Variable Suppression


Correct Option: B

How much space ADABAS will need For storing ‘ ‘ in alphanumeric 20 field?

  1. 0 byte

  2. 1 byte

  3. 2 byte

  4. 20 byte


Correct Option: B

Which one is an unique feature of ADABAS?

  1. Different views for various users

  2. Data storage

  3. Multivalued fields

  4. Security


Correct Option: C

ADABAS provides following types of database access?

  1. Sequential

  2. Random

  3. both

  4. none


Correct Option: C

Which of the following READ command uses descriptor?

  1. Read logical

  2. Read Physical

  3. Read by ISN

  4. All of the above


Correct Option: A
  1. Super Descriptor

  2. Sub Descriptor

  3. Phonetic Descriptor

  4. All of the above


Correct Option: D

what will be the output when i)pic 9(6) value 000178 is moved to pic 9(3)V9(3). ii)pic 9(3)V9(3) value 123.456 is moved to pic 9(6).

  1. 000.178 & 000123

  2. 178.000 & 000123

  3. 000.178 & 123456

  4. 000.000 & 000000


Correct Option: B

Code Snippet: 77 WS-VALUE PIC X(04) VALUE 'ABCD'. 77 WS-OUT-MSG PIC X(05) VALUE SPACES. 77 WS-OUT-LEN PIC S9(4) COMP SYNC VALUE 1. STRING WS-VALUE DELIMITED BY SIZE INTO WS-OUT-MSG WITH POINTER WS-OUT-LEN. What will be the value of WS-VALUE, WS-OUT-MSG & WS-OUT-LEN ?

  1. ABCD, ABCD, 0005

  2. ABCD, , 0004

  3. , ABCD, 0005

  4. ABCD, ABCD, 0004


Correct Option: A
  1. COPY CopyFile1 REPLACING X(3) BY X(19).

  2. COPY CopyFile1 REPLACING XYZ TO 120.

  3. COPY CopyFile1 IN COPYLIB.

  4. COPY CopyFile1.


Correct Option: B
  1. Identification division, Data division, Environment division, Procedure division.

  2. Identification division, File division, Data division, Procedure division.

  3. Identification division, Environment division, Data division, Procedure division.

  4. Identification division, Environment division, Working storage division, procedure division.


Correct Option: C

What are the three verbs used in Report Writing ?

  1. Initialize, Generate & Terminate

  2. Initiate, Write & Terminate

  3. Initiate, Generate & Terminate

  4. Initialize, Generate & End


Correct Option: C

Which one of the following is true about merge verb?

  1. KEY data items can contain an OCCURS clause.

  2. Files must be explicitly opened before using the Merge verb.

  3. OUTPUT PROCEDURE can contain any SORT or MERGE statements.

  4. INPUT PROCEDURE is not present in Merge verb.


Correct Option: D
  1. 1968

  2. 1957

  3. 1966

  4. 1969


Correct Option: A
  1. SEGMENT, FIELD

  2. FIELD, SEGMENT

  3. ROOT,SEGMENT

  4. FIELD , ROOT


Correct Option: A

SELECT CORRECT OPTION.

  1. SEGMENT TYPE IS A PARTICULAR INSTANCE OF A SEGMENT OCCURENCE

  2. SEGMENT OCCURRENCE IS A PARTICULAR INSTANCE OF A SEGMENT TYPE

  3. ALL THE ABOVE

  4. NONE OF THE ABOVE


Correct Option: B
- Hide questions