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

If you need performance which is the best for your array variable

  1. Using Index to access

  2. Using subscript to access

  3. Both a and b

  4. None of the above


Correct Option: A

How many bytes will be taken if you store your data +12345 in S9(05) comp-3

  1. 3 BYTES

  2. 4 BYTES

  3. 5 BYTES

  4. 2 BYTES


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

The I/O statements that are used for random access

  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