IBM Mainframe JCL and COBOL Programming

Test your knowledge of IBM mainframe Job Control Language (JCL), COBOL programming, and IBM utilities including DD statements, job parameters, and system facilities.

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is default delimiter for instream data?

  1. /*
  2. //*
  3. */
  4. &&
Question 2 Multiple Choice (Single Answer)

If DISP parameter is not coded in the DD statement that what is the default value?

  1. DISP=OLD,DELETE,KEEP
  2. DISP=OLD,KEEP,KEEP
  3. DISP=NEW,DELETE,DELETE
  4. DISP=SHR,KEEP,DELETE
Question 3 Multiple Choice (Single Answer)

Which one denotes the end of the JOB?

  1. //
  2. //*
  3. /*
  4. END
Question 4 Multiple Choice (Single Answer)

What is the Normal DISP position for temporary files?

  1. OLD
  2. PASS
  3. MOD
  4. SHR
Question 5 Multiple Choice (Single Answer)

Continuation of the previous line should begin in the column

  1. 3
  2. Anywhere between 5 to 17
  3. Anywhere between 4 to 16
  4. Anywhere between 1 to 17
Question 6 Multiple Choice (Single Answer)

If the condition in the COND parameter satisfies what will happen?

  1. Step will not execute
  2. Step will abend
  3. Step will execute
  4. S0C7
Question 7 Multiple Choice (Single Answer)

Which is the correct statement which will check only for errors?

  1. TYPRUN=COMPILE
  2. TYPRUN=ERRFREE
  3. TYPRUN=HOLD
  4. TYPRUN=SCAN
Question 8 Multiple Choice (Single Answer)

What IBM utility is used to rename a dataset?

  1. IEBCOPY
  2. IEBGENER
  3. IEHPROGM
  4. IEBCOMPR
Question 9 Multiple Choice (Single Answer)

Which one is the valid statement? 1 SYSIN DD DSN=DUMMY 2 SYSIN DD * 3 SYSIN DD DUMMY 4 SYSIN DD DSN=NULLFILE

  1. ALL THE ABOVE
  2. ONLY 1 AND 2
  3. ONLY 2 AND 4
  4. ONLY 2, 3 AND 4
Question 10 Multiple Choice (Single Answer)

What the JES will do?

  1. Checks for errors.
  2. Schedules the job
  3. Manages the output processing of the job.
  4. All the above
Question 11 Multiple Choice (Single Answer)

Which keyword allocates the largest available volume for the dataset?

  1. CONTIG
  2. MXIG
  3. ROUND
  4. RLSE
Question 12 Multiple Choice (Single Answer)

Which one of the following is used to pass input to the COBOL program?

  1. INPUT
  2. PARM
  3. SYSOUT
  4. COND
Question 13 Multiple Choice (Single Answer)

Which library will have the load modules of the IBM utilities?

  1. SYS1.LINKLIB
  2. SYS1.SOTREPROC
  3. SYS1.CATPROC
  4. SYS1.PROCLIB
Question 14 Multiple Choice (Single Answer)

What is keyword to make the job run for an unlimited time.

  1. TIME=(14,39)
  2. TIME=NOLIMIT
  3. TIME=UNLIMIT
  4. TIME=MAXIMUM
Question 15 Multiple Choice (Single Answer)

Which one of the following is used to print the dump of the abended job in an unformatted way?

  1. SYSOUT
  2. SYSABEND
  3. SYSUDUMP
  4. SYSMDUMP
Question 16 Multiple Choice (Single Answer)

Which one of the following keyword a PROC cannot have?

  1. EXEC
  2. SYSABEND
  3. JOBLIB
  4. SYSPRINT
Question 17 Multiple Choice (Single Answer)

What should be the DD name if we use the IBM utility IEBGENER?

  1. SYSUT1
  2. SYSIN
  3. DD1
  4. SYSPRINT
Question 18 Multiple Choice (Single Answer)

What is the default value for MSGLEVEL keyword?

  1. MSGLEVEL=(1,0)
  2. MSGLEVEL=(0,1)
  3. MSGLEVEL=(1,1)
  4. MSGLEVEL=(2,1)
Question 19 Multiple Choice (Single Answer)

What is program used to compile the COBOL program?

  1. IGYWCL
  2. IEWL
  3. IEBCOMPILE
  4. IGYCRCTL