Tag: mainframe

Questions Related to mainframe

  1. JOB INPUT NULL

  2. JOB INPUT FILENAME

  3. JOB INPUT SQL

  4. ALL THE ABOVE


Correct Option: D

WHICH OF THE FOLLOWING IN EASYTRIEVE IS SIMILAR TO COMP-3 IN COBOL

  1. ALPHANUMERIC

  2. NUMERIC

  3. PACKED

  4. BINARY


Correct Option: C
  1. ENVIRONMENT SECTION

  2. ACTIVITY SETCION

  3. LIBRARY SECTION

  4. NONE OF THE ABOVE


Correct Option: C
  1. CALL STATEMENT

  2. ADD STATEMENT

  3. LEVEL NUMBERS

  4. IF STATEMENT


Correct Option: C
  1. FILE INFILE FB(80 800)

  2. FILE INFILE VS

  3. FILE INFILE VB(100 504)

  4. NONE OF THE ABOVE


Correct Option: B
Explanation:

To solve this question, the user needs to have knowledge of VSAM files and how they are defined in JCL.

Option A: FILE INFILE FB(80 800) This option represents a flat file. The FB indicates that the file is fixed blocked, and the numbers in the parentheses specify the record length (80) and the block size (800). This is not a VSAM file.

Option B: FILE INFILE VS This option represents a VSAM file. The "VS" indicates that it is a VSAM file. However, this option is incomplete since it does not specify the file organization (KSDS, ESDS, or RRDS) and the access method (ESDS or RRDS).

Option C: FILE INFILE VB(100 504) This option represents a variable blocked file. The VB indicates that the file is variable blocked, and the numbers in the parentheses specify the maximum record length (100) and the block size (504). This is not a VSAM file.

Therefore, the correct answer is:

The Answer is: B

  1. FILE IS A FIXED BLOCK FILE WITH RECORD LENGTH 150 AND BLOCK SIZE 0

  2. FILE IS A FIXED BLOCK FILE WITH RECORD LENGTH 0 AND BLOCK SIZE 150

  3. FILE IS A VSAM FILE WITH RECORD LENGTH 150 AND BLOCK SIZE 0

  4. FILE IS A VARIABLE BLOCK FILE WITH RECORD LENGTH 150 AND BLOCK SIZE 0


Correct Option: A