Jcl-Ppt-1-Overview Session

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11
At a glance
Powered by AI
The key takeaways are that JCL is used to control job execution on mainframes, a job consists of one or more programs executed in sequence, and JCL describes the input/output requirements and resources needed to process a job.

The purpose of JCL is to provide information to the operating system (MVS) about the work to be done, resources needed, and input/output requirements of a job.

The main components of a job are the job itself, programs executed as steps within the job, and JCL which describes the job's requirements.

MAINFRAMES

JCL – Job Control Language


NAGARAJU DOMALA
JCL – JOB CONTROL LANGUAGE

Session 1

Nagaraju Domala
Session Objectives
At the end of this session participants will be able to

 Explain the role of JCL

 Explain JCL programming structure

Nagaraju Domala
JCL Overview - Topics

1. Online and Batch workloads on mainframe


2. What is Job?
3. What is JCL?
4. How a Job is processed by JES
5. Syntax rules for coding JCL statements

Nagaraju Domala
Online and Batch workloads on mainframe

Nagaraju Domala
What is Job?
A JOB is the execution of one or more related programs in sequence.
Each Program to be executed by a Job is Called a Step.

Ex: The first program sorts customer names in a sequence


The second program generates a report .

Nagaraju Domala
What is JCL?
 The Language used to Control the execution of Job in the system
 To get your MVS system to do work for you, you must describe to the
system the work you want done and the resources you will need.
 Job Control Language (JCL) provides this information to MVS as it is a
means of communication between an application program and the
computer's operating system.
 It is a set of control statements that provide the specifications necessary to
process a JOB.
 It describes everything the operating system needs to know about a job’s
input/output requirements, requests hardware devices and execute the job.

Nagaraju Domala
How a Job is processed by JES?
User Actions System Actions
Interprets
Determine Create Submit the JCL and
the Job the JCL Job Passes to
MVS

MVS does
System Messages the Job

JES Collects
View and
the output and
Interpret
Information
the Output
about the Job

Nagaraju Domala
Syntax rules for coding JCL statements
 JCL statements are coded in 80 byte records -
 Only 72 of the 80 chars available to code JCL -
 last eight columns of each record reserved for an optional
sequence number

Nagaraju Domala
Syntax rules for coding JCL
statements(contd..)
identifier name operation parameters comments

identifier Two slashes starting in column 1.


exceptions : 1. For a delimiter statement /*
2. For a comment statement //*

name 1 to 8 alphanumeric or national characters


Must start with a letter or national character
Must begin in column 3

operation Valid operation code.


e.g. JOB,EXEC,DD,PROC,PEND
Must be preceded and followed by a space.

Nagaraju Domala
Syntax rules for coding JCL
statements(contd..)

Parameters One or more parameters depending on the operation.


Individual parameters are separated from one
another by commas, no intervening spaces.

Comments Comments may follow parameters ,Preceded by one


space and not extending beyond 71 column.

Nagaraju Domala

You might also like