Professional Documents
Culture Documents
© Copyright
py g IBM Corp.,
p , 2006. All rights
g reserved.
Introduction to the new mainframe
Chapter 7 objectives
Be able to:
• Give an overview of batch processing and
how work is initiated and managed in the
system.
• Explain how the job entry subsystem
(JES) governs the
th flow
fl off work
k through
th ha
z/OS system.
What is JES?
Initiator
JES
JOBs -itiAllocation
IInitiatort
- Execution
submit - Allocation
- Cleanup
SPOOL
SPOOL - Execution
- Cleanup
Printer
© Copyright IBM Corp., 2006. All rights reserved.
8
Introduction to the new mainframe
What is spooling?
DDNAME DSNAME
Determine
JES interprets
the need
Create Submit JCL and
and
the JCL the Job passes it to
characteristics
z/OS initiator
of the Job
z/OS
System manages
Messages each step
of execution
User
JES collects
views
JES prints the output and
and
output information
interprets
about the Job
output
Spooling
JCL
//DD1 DD *
program ……...............
JES 1
read 2 data
……...............
/*
spool //DD2 DD SYSOUT=A
JES 4
SYSOUT
write 3
Printer
Two-step job
First step Second step
Program Program
Tape Printer
Master
CONVERSION
QUEUE
CONVERSION EXECUTION
QUEUE QUEUE
JCL
SPOOL
DISK
EXECUTION OUTPUT
QUEUE QUEUE
SYSIN SYSOUT
SPOOL
DISK
JOB
SYSOUT
NON-PRINT/PUNCH
OUTPUT
SPOOL
DISK
JOB
PURGE
QUEUE
SPOOL
DISK
JOB
SYSIN SYSOUT
SYSOUT
Summary
• B
Batch
h processingi is
i a fundamental
f d l function
f i off z/OS.
/OS
• z/OS shares with JES the management of jobs and resources.
• JES receives jobs into the system
system, schedules them for
processing, and controls their output.
• JES manages jobs in queues.
• An initiator sets up the necessary environment for running a
batch job. Multiple initiators permit the parallel execution of
batch jobs.
j
• During the life of a job, both JES and the z/OS base control
program control different phases of the overall processing.