Introduction IQ for Freshers


What does MVS stand for?

MVS (Multiple Virtual Storage) is an IBM operating system that runs on many mainframes and large servers. MVS has been said of its successor systems, OS/390 and z/OS.

What is a JCL?

JCL (Job Control Language) is a programming language used on IBM mainframe operating systems. JCL is a language with a set of predefined instructions that are used by the JOB ENTRY SUBSYSTEM (JES2 or JES3) to instruct the system on how to run a batch job or start a subsystem.

What is the role of JCL in mainframe environments?

JCL (Job Control Language) in mainframe environments defines, schedules, and controls batch jobs. It specifies the programs to be run, the required resources, and the input and output data sets. JCL also enables efficient resource management and automation of routine tasks, ensuring consistent and reliable job execution.

What is JOB?

We need to code some JCL statements together to perform a task. All the statements coded together for a task are called as JOB.

When to use JCL?

JCL is used to create JOBs to perform the below tasks in the batch environment -

  • To process large volumes of data.
  • To compile the programs.
  • To run the programs.
  • To run the utilities.
  • To create, delete, and read files.
  • Many more..

Explain what is the use of JCL?

JCL is used in IBM mainframe environments to manage and control the execution of programs and jobs. It specifies the programs to be run, the files and devices to be used, and the system resources required, ensuring efficient and organized task processing in a mainframe system.

What JOB can do?

  • Submit a task to the operating system for processing.
  • Pass values to an application program using PARM parameter in EXEC statement.
  • Compile a program.
  • Bind a program (COBOL + DB2).
  • Run a program (COBOL / COBOL + DB2).
  • Bind DB2 program.
  • Create datasets. i.e., PS and PDS.
  • Create GDG and VSAM files.
  • Execute the utilities like IEBCOPY, DFSORT, IEBGENER, and IDCAMS.
  • Copy data from one file to other.
  • And so on..

What are the differences between JES2 & JES3?

JES2 and JES3 perform similar functions. The major difference is, JES3 allocates datasets for all the steps before the job is scheduled. In JES2, allocation of datasets required by a step are done only just before the step execution.

Frequently Asked Questions -

What is JCL (Job Control Language)?
Explain what is JCL?

What are the benefits of using JCL?
Can you elaborate on the advantages of using JCL?

What is a job in the context of JCL?

Explain what is the difference between JES3 and JES2?