0

mainframe Online Quiz - 77

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

Keyword Functions are evaluated from

  1. Left to Right

  2. Right to left

  3. Middle

  4. second Character


Correct Option: A

If the job run in November 2010 |EZCYMFP4| will return

  1. 201006

  2. 201007

  3. 201004

  4. 201005


Correct Option: B

Which one among the given data type is best if u need performance (need to save more CPU) for your arithmetic computations

  1. COMP

  2. COMP-3 SIGN LEADING

  3. COMP-1 SIGN LEADING

  4. COMP-3 SIGN LEADING SEPARATE


Correct Option: A

Where do we need to declare the sorting key ACCOUNT-NO for the following syntax SORT WORK-FILE ON ASCENDING KEY ACCOUNT-NO USING FILE-NAME-1 GIVING FILE-NAME-2

  1. WORK-FILE

  2. FILE-NAME-1

  3. FILE-NAME-2

  4. No need to declare


Correct Option: A

In a sort when the control transfers to the para TEST-ACCOUNT-PARA for the following syntax SORT FILE-NAME-1 ON ASCENDING KEY ACCOUNT-NO INPUT PROCEDURE IS TEST-ACCOUNT-PARA USING FILE-NAME-2 OUTPUT PROCEDURE IS WRITE-ACCOUNT-PARA GIVING FILE-NAME-3

  1. Before sort

  2. After sort

  3. For each record in the sort

  4. For the last record


Correct Option: A

Which is more efficient search, if your number of records is more and the input is sorted

  1. Binary Search

  2. Sequential Search

  3. Both a and b

  4. None


Correct Option: A
  1. Using Index to access

  2. Using subscript to access

  3. Both a and b

  4. None of the above


Correct Option: A
  1. Library section

  2. Environment definition

  3. Activity definition

  4. NONE OF THE ABOVE


Correct Option: C

The parameter used with the REPORT statement that can be used to sort the report based on a field

  1. SORT

  2. SEQUENCE

  3. CONTROL

  4. None of the above


Correct Option: B
  1. READ and WRITE

  2. GET and PUT

  3. Both a and b

  4. None of the above


Correct Option: A

The parameter LINESIZE used with the REPORT statement should have the length

  1. Equal to lrecl of the file

  2. Greater than lrecl of the file

  3. Equal to lrecl – 1

  4. Equal to lrecl + 1


Correct Option: C

While comparing files using MATCHED keyword, only one key field can be used

  1. True

  2. False


Correct Option: B

In case of controlled processing, the JOB statement should be defined as

  1. JOB INPUT SQL

  2. JOB INPUT NULL

  3. JOB INPUT filename

  4. None of the above


Correct Option: B
- Hide questions