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.
Questions
What is default delimiter for instream data?
- /*
- //*
- */
- &&
If DISP parameter is not coded in the DD statement that what is the default value?
- DISP=OLD,DELETE,KEEP
- DISP=OLD,KEEP,KEEP
- DISP=NEW,DELETE,DELETE
- DISP=SHR,KEEP,DELETE
Which one denotes the end of the JOB?
- //
- //*
- /*
- END
What is the Normal DISP position for temporary files?
- OLD
- PASS
- MOD
- SHR
Continuation of the previous line should begin in the column
- 3
- Anywhere between 5 to 17
- Anywhere between 4 to 16
- Anywhere between 1 to 17
If the condition in the COND parameter satisfies what will happen?
- Step will not execute
- Step will abend
- Step will execute
- S0C7
Which is the correct statement which will check only for errors?
- TYPRUN=COMPILE
- TYPRUN=ERRFREE
- TYPRUN=HOLD
- TYPRUN=SCAN
What IBM utility is used to rename a dataset?
- IEBCOPY
- IEBGENER
- IEHPROGM
- IEBCOMPR
Which one is the valid statement? 1 SYSIN DD DSN=DUMMY 2 SYSIN DD * 3 SYSIN DD DUMMY 4 SYSIN DD DSN=NULLFILE
- ALL THE ABOVE
- ONLY 1 AND 2
- ONLY 2 AND 4
- ONLY 2, 3 AND 4
What the JES will do?
- Checks for errors.
- Schedules the job
- Manages the output processing of the job.
- All the above
Which keyword allocates the largest available volume for the dataset?
- CONTIG
- MXIG
- ROUND
- RLSE
Which one of the following is used to pass input to the COBOL program?
- INPUT
- PARM
- SYSOUT
- COND
Which library will have the load modules of the IBM utilities?
- SYS1.LINKLIB
- SYS1.SOTREPROC
- SYS1.CATPROC
- SYS1.PROCLIB
What is keyword to make the job run for an unlimited time.
- TIME=(14,39)
- TIME=NOLIMIT
- TIME=UNLIMIT
- TIME=MAXIMUM
Which one of the following is used to print the dump of the abended job in an unformatted way?
- SYSOUT
- SYSABEND
- SYSUDUMP
- SYSMDUMP
Which one of the following keyword a PROC cannot have?
- EXEC
- SYSABEND
- JOBLIB
- SYSPRINT
What should be the DD name if we use the IBM utility IEBGENER?
- SYSUT1
- SYSIN
- DD1
- SYSPRINT
What is the default value for MSGLEVEL keyword?
- MSGLEVEL=(1,0)
- MSGLEVEL=(0,1)
- MSGLEVEL=(1,1)
- MSGLEVEL=(2,1)
What is program used to compile the COBOL program?
- IGYWCL
- IEWL
- IEBCOMPILE
- IGYCRCTL