Freshers Registration

JCL MCQs and Answers With Explanation | JCL Quiz

JCL MCQ's

JCL MCQs and Answers With Explanation: Aspirants those who are willing to take the JCL Quiz can check out this article. Moreover, participants can practice the JCL MCQ Online Test with free of cost. Anyone can participate in the JCL MCQ Quiz without any query. Furthermore, we advice all the contenders to make sure that we have all the Multiple Choice Questions which are frequently asked for the interview. So, without late, the aspirants need to scroll down the page to learn the questions in JCL language. Check the instructions before participating in the test.

JCL Quiz Details

Quiz Name JCL
Category Technical Quiz
Time No Time Limit
Exam Type MCQ (Multiple Choice Questions)

JCL MCQ Quiz Instructions

Now planning to practice JCL MCQ? From the below sections, the practitioners can comfortably take the test. Moreover, before going into practice, the test candidates have to follow some instructions that are mentioned by us. Do not refresh the page until you finish the test. If you do so, you may lose the questions that you have marked. Also, make a note that there are no negative marks for the exam. One target is awarded for each item appear for the test. Also, do not forget to click on Submit button after the completion of the test. There is no time limit for the JCL Quiz. So, the candidates can answer all the questions by picking the correct answer.

Join Telegram Join Telegram
Join Whatsapp Groups Join Whatsapp

JCL Online Test

1. Which JCL statement is used to specify the input file for a job step?

a. //INPUT
b. //IN
c. //DD
d. //DATA

Answer: c. //DD

Explanation: //DD is used to define data sets used by job steps. It specifies input files, output files, or data sets used by the job step.

2. What is the purpose of the JOB statement in JCL?

a. To define the job name
b. To specify the program to be executed
c. To specify the input files
d. To specify the output files

Answer: a. To define the job name

Explanation: The JOB statement is used to define the name of the job and any other job-level information that is needed, such as accounting or scheduling information.

3. Which of the following JCL statements is used to execute a program or utility?

a. //EXEC
b. //PGM
c. //PROC
d. //STEP

Answer: a. //EXEC

Explanation: The //EXEC statement is used to execute a program or utility in a JCL job step.

4. Which JCL statement is used to specify the output file for a job step?

a. //OUTPUT
b. //OUT
c. //DD
d. //DATA

Answer: a. //OUTPUT

Explanation: //OUTPUT is used to define the output data set used by a job step. It specifies where the output of the job step should be written.

5. What is the purpose of the SET statement in JCL?

a. To set system parameters
b. To set job parameters
c. To set program parameters
d. To set data set parameters

Answer: b. To set job parameters

Explanation: The SET statement is used to define job-level parameters, such as symbolic parameters or environmental variables, that are used in subsequent job steps.

6. What is the purpose of the IF statement in JCL?

a. To specify conditional processing
b. To define input data sets
c. To define output data sets
d. To define system parameters

Answer: a. To specify conditional processing

Explanation: The IF statement is used to specify conditional processing in JCL. It allows you to test a condition and then execute different job steps depending on the outcome of the test.

7. Which of the following JCL statements is used to include another JCL member?

a. //INCLUDE
b. //MERGE
c. //COPY
d. //LINK

Answer: a. //INCLUDE

Explanation: The //INCLUDE statement is used to include another JCL member in a JCL job.

8. Which JCL statement is used to specify the disposition of an output data set?

a. //DISP
b. //DEST
c. //OUTPUT
d. //OUTDISP

Answer: a. //DISP

Explanation: The //DISP statement is used to specify the disposition of an output data set. It specifies whether the data set should be retained or deleted after the job completes.

9. What is the purpose of the TIME parameter in JCL?

a. To specify the amount of CPU time needed for a job
b. To specify the time when the job should start
c. To specify the time when the job should end
d. To specify the maximum amount of time allowed for a job

Answer: d. To specify the maximum amount of time allowed for a job

Explanation: The TIME parameter is used to specify the maximum amount of time that a job is allowed to run. If the job exceeds this time limit, it will be terminated.

10. Which JCL statement is used to specify the number of copies of an output data set?

a. //COPIES
b. //COPIE
c. //COPY
d. //NUMCOPIES

Answer: c. //COPY

Explanation: The //COPY statement is used to specify the number of copies of an output data set that should be created. It is used in conjunction with the //OUTPUT statement.

11. Which of the following JCL statements is used to specify job-level accounting information?

a. //ACCT
b. //ACCOUNT
c. //JOBACCT
d. //JOBACCTM

Answer: b. //ACCOUNT

Explanation: The //ACCOUNT statement is used to specify job-level accounting information. It specifies the accounting string that should be associated with the job.

12. What is the purpose of the NOTIFY parameter in JCL?

a. To specify the name of the person to be notified if the job fails
b. To specify the name of the person to be notified when the job completes successfully
c. To specify the name of the person to be notified when the job starts
d. To specify the name of the person to be notified when the job ends

Answer: a. To specify the name of the person to be notified if the job fails

Explanation: The NOTIFY parameter is used to specify the name of the person or group that should be notified if the job fails.

13. Which JCL statement is used to specify job-level scheduling information?

a. //SCHED
b. //SCHEDULE
c. //JOBSCHE
d. //JOBSCHED

Answer: b. //SCHEDULE

Explanation: The //SCHEDULE statement is used to specify job-level scheduling information. It specifies when the job should be run and how often it should be run.

14. Which of the following JCL statements is used to specify the input data set for a PROC step?

a. //INPUT
b. //IN
c. //DD
d. //DATA

Answer: b. //IN

Explanation: The //IN statement is used to specify the input data set for a PROC step.

15. What is the purpose of the COND parameter in JCL?

a. To specify conditional processing
b. To specify the name of a program or utility
c. To specify the name of an input data set
d. To specify the name of an output data set

Answer: a. To specify conditional processing

Explanation: The COND parameter is used to specify conditional processing in JCL. It allows you to test a condition and then execute different job steps depending on the outcome of the test.

16. Which JCL statement is used to specify the name of a procedure to be executed?

a. //PROC
b. //PROCEDURE
c. //EXECPROC
d. //PROCSTEP

Answer: a. //PROC

Explanation: The //PROC statement is used to specify the name of a procedure to be executed in a JCL job.

17. What is the purpose of the PARM parameter in JCL?

a. To specify program parameters
b. To specify system parameters
c. To specify job parameters
d. To specify data set parameters

Answer: a. To specify program parameters

Explanation: The PARM parameter is used to specify program parameters that are passed to the program being executed.

18. Which JCL statement is used to specify the input parameters for a program or utility?

a. //INPUT
b. //INPARM
c. //PARM
d. //PROCPARM

Answer: c. //PARM

Explanation: The //PARM statement is used to specify the input parameters for a program or utility being executed.

19. What is the purpose of the SYSOUT parameter in JCL?

a. To specify the output data set for a job step
b. To specify the input data set for a job step
c. To specify the name of a program or utility
d. To specify system parameters

Answer: a. To specify the output data set for a job step

Explanation: The SYSOUT parameter is used to specify the output data set for a job step.

20. Which of the following JCL statements is used to specify job-level security information?

a. //SECURITY
b. //SECLVL
c. //JOBSEC
d. //JOBSECURITY

Answer: b. //SECLVL

Explanation: The //SECLVL statement is used to specify job-level security information. It specifies the level of security that should be associated with the job.

21. Which JCL statement is used to specify the location of a system log?

a. //LOG
b. //SYSLOG
c. //SYSLOGS
d. //LOGFILE

Answer: b. //SYSLOG

Explanation: The //SYSLOG statement is used to specify the location of a system log in JCL.

22. What is the purpose of the SPACE parameter in JCL?

a. To specify the amount of space to allocate for a data set
b. To specify the name of a data set
c. To specify the location of a data set
d. To specify the type of a data set

Answer: a. To specify the amount of space to allocate for a data set

Explanation: The SPACE parameter is used to specify the amount of space to allocate for a data set in JCL.

23. Which JCL statement is used to specify the number of lines per page for a printed report?

a. //LINES
b. //PAGE
c. //PAGES
d. //LINECNT

Answer: b. //PAGE

Explanation: The //PAGE statement is used to specify the number of lines per page for a printed report in JCL.

24. Which JCL statement is used to specify the maximum amount of time a job should be allowed to run?

a. //RUNTIME
b. //JOBTIME
c. //TIME
d. //MAXTIME

Answer: b. //JOBTIME

Explanation: The //JOBTIME statement is used to specify the maximum amount of time a job should be allowed to run in JCL.

25. What is the purpose of the MSGCLASS parameter in JCL?

a. To specify the message class for output
b. To specify the message class for input
c. To specify the message class for processing
d. To specify the message class for logging

Answer: a. To specify the message class for output

Explanation: The MSGCLASS parameter is used to specify the message class for output in JCL.

26. Which JCL statement is used to specify the system dump destination for a job?

a. //DUMP
b. //SYSABEND
c. //SYSMDUMP
d. //DUMPDEST

Answer: c. //SYSMDUMP

Explanation: The //SYSMDUMP statement is used to specify the system dump destination

27. Which of the following JCL statements is used to conditionally execute a job step?

a. //IF
b. //ELSE
c. //THEN
d. //COND

Answer: d. //COND

Explanation: The //COND statement is used to conditionally execute a job step in JCL. It specifies the condition that must be met for the step to be executed.

28. What is the purpose of the DCB parameter in JCL?

a. To specify the name of a data set
b. To specify the location of a data set
c. To specify the type of a data set
d. To specify the attributes of a data set

Answer: d. To specify the attributes of a data set

Explanation: The DCB parameter is used to specify the attributes of a data set in JCL, such as the block size, record format, and record length.

29. Which of the following JCL statements is used to include another JCL member in a job stream?

a. //INCLUDE
b. //EXEC
c. //COPY
d. //LINK

Answer: a. //INCLUDE

Explanation: The //INCLUDE statement is used to include another JCL member in a job stream in JCL.

30. Which JCL statement is used to specify the job class for a job?

a. //CLASS
b. //JOBCLASS
c. //JCLASS
d. //JOBPRIORITY

Answer: a. //CLASS

Explanation: The //CLASS statement is used to specify the job class for a job in JCL.

31. Which JCL statement is used to specify the order in which job steps should be executed?

a. //ORDER
b. //SEQUENCE
c. //STEP
d. //PROCSTEP

Answer: c. //STEP

Explanation: The //STEP statement is used to specify the order in which job steps should be executed in JCL.

32. What is the purpose of the MSGLEVEL parameter in JCL?

a. To specify the level of detail for output messages
b. To specify the level of detail for input messages
c. To specify the level of detail for processing messages
d. To specify the level of detail for logging messages

Answer: a. To specify the level of detail for output messages

Explanation: The MSGLEVEL parameter is used to specify the level of detail for output messages in JCL.

33. Which of the following JCL statements is used to specify the program to be executed for a job step?

a. //PROGRAM
b. //PGM
c. //EXEC
d. //RUN

Answer: b. //PGM

Explanation: The //PGM statement is used to specify the program to be executed for a job step in JCL.

34. Which JCL statement is used to specify the name of a job?

a. //JOB
b. //NAME
c. //ID
d. //JOBNAME

Answer: d. //JOBNAME

Explanation: The //JOBNAME statement is used to specify the name of a job in JCL.

35. Which of the following JCL statements is used to specify the number of copies of a job output that should be printed?

a. //COPIES
b. //PRINT
c. //OUTPUT
d. //LIST

Answer: a. //COPIES

Explanation: The //COPIES statement is used to specify the number of copies of a job output that should be printed in JCL.

36. What is the purpose of the DISP parameter in JCL?

a. To specify the location of a data set
b. To specify the type of a data set
c. To specify the attributes of a data set
d. To specify the disposition of a data set

Answer: d. To specify the disposition of a data set

Explanation: The DISP parameter is used to specify the disposition of a data set in JCL, such as whether to delete, retain, or catalog the data set.

37. Which JCL statement is used to specify the program to be executed for a job step and its parameters?

a. //PROGRAM
b. //PGM
c. //EXEC
d. //RUN

Answer: c. //EXEC

Explanation: The //EXEC statement is used to specify the program to be executed for a job step and its parameters in JCL.

38. What is the purpose of the REGION parameter in JCL?

a. To specify the amount of memory a job step should be allocated
b. To specify the amount of CPU time a job step should be allocated
c. To specify the region of memory where a program should be executed
d. To specify the region of memory where a data set should be allocated

Answer: c. To specify the region of memory where a program should be executed

Explanation: The REGION parameter is used to specify the region of memory where a program should be executed in JCL.

39. Which of the following JCL statements is used to specify the number of records to be skipped before processing a data set?

a. //SKIP
b. //SKIPREC
c. //SKIPCOUNT
d. //SKIPRECORD

Answer: b. //SKIPREC

Explanation: The //SKIPREC statement is used to specify the number of records to be skipped before processing a data set in JCL.

40. Which of the following JCL statements is used to specify the date and time when a job should be executed?

a. //DATE
b. //TIME
c. //START
d. //SCHEDULE

Answer: d. //SCHEDULE

Explanation: The //SCHEDULE statement is used to specify the date and time when a job should be executed in JCL.

41. Which of the following JCL statements is used to specify the name of a data set?

a. //NAME
b. //DSN
c. //DATA
d. //SET

Answer: b. //DSN

Explanation: The //DSN statement is used to specify the name of a data set in JCL.

42. What is the purpose of the UNIT parameter in JCL?

a. To specify the amount of memory a job step should be allocated
b. To specify the amount of CPU time a job step should be allocated
c. To specify the device where a data set is located or will be created
d. To specify the order in which job steps should be executed

Answer: c. To specify the device where a data set is located or will be created

Explanation: The UNIT parameter is used to specify the device where a data set is located or will be created in JCL.

43. Which of the following JCL statements is used to specify the type of a data set?

a. //TYPE
b. //DSNTYPE
c. //FORMAT
d. //RECFM

Answer: b. //DSNTYPE

Explanation: The //DSNTYPE statement is used to specify the type of a data set in JCL.

44. Which of the following JCL statements is used to specify the disposition of a data set?

a. //DISP
b. //DEST
c. //DATA
d. //STAT

Answer: a. //DISP

Explanation: The //DISP statement is used to specify the disposition of a data set in JCL, such as whether to keep or delete the data set after the job completes.

45. What is the purpose of the SYSIN parameter in JCL?

a. To specify the input data set for a job step
b. To specify the output data set for a job step
c. To specify the control statements for a program to be executed for a job step
d. To specify the amount of memory a job step should be allocated

Answer: c. To specify the control statements for a program to be executed for a job step

Explanation: The SYSIN parameter is used to specify the control statements for a program to be executed for a job step in JCL.

46. Which of the following JCL statements is used to specify the input data set for a job step?

a. //SYSIN
b. //SYSOUT
c. //INPUT
d. //INDD

Answer: d. //INDD

Explanation: The //INDD statement is used to specify the input data set for a job step in JCL.

47. What is the purpose of the OUTDD parameter in JCL?

a. To specify the input data set for a job step
b. To specify the output data set for a job step
c. To specify the control statements for a program to be executed for a job step
d. To specify the amount of memory a job step should be allocated

Answer: b. To specify the output data set for a job step

Explanation: The OUTDD parameter is used to specify the output data set for a job step in JCL.

48. Which of the following JCL statements is used to specify the input/output error message data set for a job?

a. //MSGLEVEL
b. //MSGCLASS
c. //MSGDDN
d. //MSGFILE

Answer: c. //MSGDDN

Explanation: The //MSGDDN statement is used to specify the input/output error message data set for a job in JCL.

49. Which of the following is true about the JES2 and JES3 subsystems?

a. JES2 is the older of the two and is no longer used.
b. JES3 is the older of the two and is no longer used.
c. JES2 and JES3 are both still in use, but JES3 is more commonly used.
d. JES2 and JES3 are both still in use, but JES2 is more commonly used.

Answer: d. JES2 and JES3 are both still in use, but JES2 is more commonly used.

Explanation: Both JES2 and JES3 are still in use, but JES2 is more commonly used in most mainframe environments.

50. Which of the following JCL statements is used to specify a comment in JCL?

a. //COM
b. //COMM
c. //COMMENT
d. //*

Answer: d. //*

Explanation: The //* statement is used to specify a comment in JCL.

About JCL

Furthermore, in the batch mode, applications submitted to the operating system as a job through a JCL. Therefore, the Operating System uses Job Entry System (JES) to receive the tasks into the Operating System and also to schedule the tasks for processing and to control the output. Make a note that the Job processing for the schedule, goes through a series of steps as offered below:

  • Job Submission
  • The Job Conversion
  • Job Queuing
  • And Job Execution

Benefits Of Practicing JCL Quiz

There will be more benefits of attending and practicing the JCL MCQ Quiz.

  • Postulates can learn skills regarding the time management.
  • Improve your knowledge in solving a complex query.
  • And, improves speed and accuracy to attempt and get success in the test.
  • Aspirants can learn the various questions of the JCL.

Furthermore, for more information related to the JCL Quiz, keep watching Freshers Now site.

Freshersnow.com is one of the best job sites in India. On this website you can find list of jobs such as IT jobs, government jobs, bank jobs, railway jobs, work from home jobs, part time jobs, online jobs, pharmacist jobs, software jobs etc. Along with employment updates, we also provide online classes for various courses through our android app. Freshersnow.com also offers recruitment board to employers to post their job advertisements for free.