mainframe Online Quiz - 18

mainframe Online Quiz - 18

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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
Question 2 Multiple Choice (Single Answer)

Which of the following is not a database access command in ADABAS?

  1. Find
  2. Histogram
  3. Select
  4. Read
Question 3 Multiple Choice (Single Answer)

Which type of data storage is preferable for storing 'M' in #VAR (an alphanumeric 1 field) ?

  1. Default Compression
  2. Fixed Format
  3. Normal Suppression
  4. None of the above
Question 4 Multiple Choice (Single Answer)

ILB (Inclusive Length Byte) is a feature of

  1. Null Suppression
  2. Default Compression
  3. Fixed Format
  4. Variable Suppression
Question 5 Multiple Choice (Single Answer)

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

  1. 0 byte
  2. 1 byte
  3. 2 byte
  4. 20 byte
Question 6 Multiple Choice (Single Answer)

Which one is an unique feature of ADABAS?

  1. Different views for various users
  2. Data storage
  3. Multivalued fields
  4. Security
Question 7 Multiple Choice (Single Answer)

ADABAS provides following types of database access?

  1. Sequential
  2. Random
  3. both
  4. none
Question 8 Multiple Choice (Single Answer)

Which of the following READ command uses descriptor?

  1. Read logical
  2. Read Physical
  3. Read by ISN
  4. All of the above
Question 9 Multiple Choice (Single Answer)

What are different types of descriptors that can be used in ADABAS?

  1. Super Descriptor
  2. Sub Descriptor
  3. Phonetic Descriptor
  4. All of the above
Question 10 Multiple Choice (Single Answer)

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
Question 11 Multiple Choice (Single Answer)

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
Question 12 Multiple Choice (Single Answer)

Pick the wrong syntax:

  1. COPY CopyFile1 REPLACING ==X(3)== BY ==X(19)==.
  2. COPY CopyFile1 REPLACING XYZ TO 120.
  3. COPY CopyFile1 IN COPYLIB.
  4. COPY CopyFile1.
Question 13 Multiple Choice (Single Answer)

What is the order of divisions in Cobol?

  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.
Question 14 Multiple Choice (Single Answer)

A Table can have how many dimensions?

  1. 3
  2. 9
  3. 5
  4. 7
Question 15 Multiple Choice (Single Answer)

Code Snippet: 01 Data Pic 99. 88 val1 values are 10 thru 19. Set val1 to true. What is the value of Data ?

  1. Compile error
  2. 10
  3. 0
  4. 19
Question 16 Multiple Choice (Single Answer)

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
Question 17 Multiple Choice (Single Answer)

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.
Question 18 Multiple Choice (Single Answer)

IMS WAS DEVELOPED IN?

  1. 1968
  2. 1957
  3. 1966
  4. 1969
Question 19 Multiple Choice (Single Answer)

SMALLEST INFORMATION THAT DL/I CAN FETCH, HANDLE?

  1. SEGMENT, FIELD
  2. FIELD, SEGMENT
  3. ROOT,SEGMENT
  4. FIELD , ROOT
Question 20 Multiple Choice (Single Answer)

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