Tag: mainframe

Questions Related to mainframe

What is name of the debug tool for natural programs

  1. DEBUG

  2. TEST

  3. CHECK

  4. XPEDITOR


Correct Option: B

Which parameter will be used to stop the execution of a step(which resides in the proc) in JCL.

  1. COND.STEPNAME=(GE,0)

  2. COND.STEPNAME=(0,GE)

  3. COND.STEPNAME=(0,LE)

  4. COND.STEPNAME=(LE,0)


Correct Option: C

Which option will be used for spilitting the file using the records count

  1. OUTFIL FILES

  2. OUTREC FILES

  3. A & B

  4. NONE


Correct Option: A

AI Explanation

To answer this question, we need to understand the concepts of OUTFIL and OUTREC in file processing.

Option A) OUTFIL FILES - This option is correct for splitting a file based on the record count. The OUTFIL statement in file processing is used to define output specifications for a file. The FILES parameter in the OUTFIL statement specifies the number of output files to be created. By setting the FILES parameter to a specific value, you can split the input file into multiple output files based on the record count.

Option B) OUTREC FILES - This option is incorrect. The OUTREC statement in file processing is used for reformatting records within a file, but it does not have a parameter for splitting the file based on the record count.

Option C) A & B - This option is incorrect. While the OUTFIL statement with the FILES parameter (Option A) can be used for splitting the file based on the record count, the OUTREC statement (Option B) does not have this capability.

Option D) NONE - This option is incorrect. The correct option for splitting the file based on the record count is Option A, OUTFIL FILES.

Therefore, the correct answer is Option A) OUTFIL FILES. This option allows you to split the file using the records count.

What does abend code S806 signify

  1. Operation Exception

  2. Load module not found

  3. Index exceeds the size of the table

  4. COBOL sort failed


Correct Option: B

Which parameter is used to call the jcl from another jcl

  1. JCLCAL

  2. INTRDR

  3. JCLCALL

  4. NONE


Correct Option: B

What does AVGREC parameter will do

  1. to specify the size of the file in terms of cylinders or tracks

  2. to specify the size of a new dataset in terms of the number of records

  3. to specify the size of the file in terms of bytes

  4. None


Correct Option: B
  1. OUTREC FILES=(01,02,03,04,05,06,07,08,09,10),SPLIT

  2. OUTREC=(01,02,03,04,05,06,07,08,09,10),SPLIT

  3. OUTFIL FILES=(01,02,03,04,05,06,07,08,09,10),SPLIT

  4. ALL


Correct Option: C
  1. CYLINDERS of the file

  2. LRECEL of the file

  3. BUFSIZE of the file

  4. NONE


Correct Option: B