z/OS
MVS
JCL
User’s
Gui de
SA22-7598-04
z/OS
MVS
JCL
User’s
Gui de
SA22-7598-04
Note
Before
using
this
information
and
the
product
it
supports,
be
sure
to
read
the
general
information
under
Appendix
E,
“Notices,”
on
page
E-1.
Fifth
Edition,
September
2004
This
is
a
major
revision
of
SA22-7598-03.
This
edition
applies
to
Version
1
Release
6
of
z/OS
(5694-A01)
and
to
all
subsequent
releases
and
modifications
until
otherwise
indicated
in
new
editions.
IBM
welcomes
your
comments.
A
form
for
readers’
comments
may
be
provided
at
the
back
of
this
document,
or
you
may
address
your
comments
to
the
following
address:
v
International
Business
Machines
Corporation
v
Department
55JA,
Mail
Station
P384
v
2455
South
Road
v
Poughkeepsie,
NY
12601-5400
v
United
States
of
America
v
v
FAX
(United
States
&
Canada):
1+845+432-9405
v
FAX
(Other
Countries):
v
Your
International
Access
Code
+1+845+432-9405
v
v
IBMLink
™
(United
States
customers
only):
IBMUSM10(MHVRCFS)
v
Internet
e-mail:
mhvrcfs@us.ibm.com
v
World
Wide
Web:
www.ibm.com/servers/eserver/zseries/zos/webqs.html
If
you
would
like
a
reply,
be
sure
to
include
your
name,
address,
telephone
number,
or
FAX
number.
Make
sure
to
include
the
following
in
your
comment
or
note:
v
Title
and
order
number
of
this
document
v
Page
number
or
topic
related
to
your
comment
When
you
send
information
to
IBM,
you
grant
IBM
a
nonexclusive
right
to
use
or
distribute
the
information
in
any
way
it
believes
appropriate
without
incurring
any
obligation
to
you.
©
Copyright
International
Business
Machines
Corporation
1988,
2004.
All
rights
reserved.
US
Government
Users
Restricted
Rights
–
Use,
duplication
or
disclosure
restricted
by
GSA
ADP
Schedule
Contract
with
IBM
Corp.
Contents
Figures
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xi
Tables
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. xiii
About
This
Book
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xv
Who
Should
Use
This
Book
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xv
Where
to
Find
More
Information
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xv
Programs
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xv
Hardware
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.xv
Accessing
z/OS
licensed
documents
on
the
Internet
.
.
.
.
.
.
.
.
.
.
. xvi
Using
LookAt
to
look
up
message
explanations
.
.
.
.
.
.
.
.
.
.
.
.
. xvi
Summary
of
Changes
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. xix
Part
1.
Introduction
Chapter
1.
Introduction
-
Job
Control
Statements
.
.
.
.
.
.
.
.
.
.
. 1-1
JCL
Statements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 1-1
JECL
Statements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 1-2
Chapter
2.
Introduction
-
Job
Control
Language
(JCL)
.
.
.
.
.
.
.
.
. 2-1
Understanding
JCL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-1
“Chez
MVS”
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-1
How
This
Relates
to
JCL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-1
Job
Control
Statements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-2
Required
Control
Statements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-3
Exercise:
Creating
and
Entering
a
Job
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-3
Before
You
Begin
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-3
Step
1.
Allocate
a
Data
Set
to
Contain
Your
JCL
.
.
.
.
.
.
.
.
.
.
. 2-4
Step
2.
Edit
the
JCL
Data
Set
and
Add
the
Necessary
JCL
.
.
.
.
.
.
. 2-4
Step
3.
Submit
the
JCL
to
the
System
as
a
Job
.
.
.
.
.
.
.
.
.
.
. 2-6
Step
4.
View
and
Understand
the
Output
from
the
Job
.
.
.
.
.
.
.
.
. 2-7
Step
5.
Make
Changes
to
Your
JCL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-8
Step
6.
View
and
Understand
Your
Final
Output
.
.
.
.
.
.
.
.
.
.
. 2-9
More
Complex
Jobs
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-11
In-Stream
and
Cataloged
Procedures
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-11
Input
Streams
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-12
Additional
Information
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-13
Installation
Conventions
Worksheet
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-13
Using
ISPF
to
Allocate
and
Edit
a
Data
Set
.
.
.
.
.
.
.
.
.
.
.
.
. 2-13
Using
SDSF
to
View
Held
Output
from
a
Job
.
.
.
.
.
.
.
.
.
.
.
. 2-15
Helpful
Utilities
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 2-17
Chapter
3.
Job
Control
Tasks
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 3-1
Entering
Jobs
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 3-1
Processing
Jobs
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 3-2
Requesting
Resources
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 3-2
Task
Charts
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 3-2
Part
2.
Tasks
for
Entering
Jobs
Chapter
4.
Entering
Jobs
-
Identification
.
.
.
.
.
.
.
.
.
.
.
.
.
. 4-1
©
Copyright
IBM
Corp.
1988,
2004
iii