Professional Documents
Culture Documents
Job Entry Subsystem (JES)
Job Entry Subsystem (JES)
Input jobs and printed output from many jobs are stored in the single (conceptual)
spool data set.
What an initiator does
To run multiple jobs asynchronously, z/OS uses initiators to:
– Ensure that jobs do not conflict in data set usage
– Ensure that single-user devices (tape drives) are allocated correctly
– Find executable programs requested by jobs
– Clean up after the job ends and request the next job
Preventing two users from accessing the same data at the same time is critical to z/OS
and the ability to do this is one of the defining characteristics of the operating system.
Spooling
JC L
// D D 1 D D *
p ro g ra m … … .. ... .. . .. ... ..
JE S 11
re a d 2 d a ta
… … .. ... . . ... ... ..
/*
sp o o l // D D 2 D D S Y S O U T =A
JE S 4
SYSOUT
w r ite 33
P r in te r
Job flow through the system
During execution, a job goes through the following phases:
– Input
– Conversion
– Processing
– Output
– Print (to hardcopy or a console display)
– Purge
Phases of job flow: input
JC L
C O N V E R S IO N
Q U E U E
J C L & S Y S IN
S P O O L
DD I ISS KK
Phases of job flow: conversion
JC L
C O N V E R S IO N E X E C U T IO N
Q U E U E Q U E U E
JC L
S P O O L
DD I ISS KK
Phases of job flow: execution
JC L initiator
E X E C U T IO N O U T P U T
Q U E U E Q U E U E
IN P U T C O N V E R S IO N P RO CE SSING O UT PU T H A R D -C O P Y PUR G E
S Y S IN SYSO U T
S P O O L
DD I ISS KK
Phases of job flow: output and hardcopy
JC L
O U T P U T H A R D -C O P Y P U R G E
Q U E U E Q U E U E Q U E U E
SYSO UT
N O N -P R I N T / P U N C H
O UT PU T
S P O O L
DD I ISS KK
Phases of job flow: purge
JC L
P U R G E
Q U E U E
IN P U T C O NV ER S IO N P RO CE S S ING O UT PU T H A R D -C O P Y P UR G E
S P O O L
DD I ISS KK
Job flow through the system
JC L
initiator
C O N V E R S IO N E X E C U T IO N O U T P U T H A R D -C O P Y P U R G E
Q U E U E Q U E U E Q U E U E Q U E U E Q U E U E
IN P U T C O N V E R S IO N P RO CE S S ING O UT PU T H A R D -C O P Y P UR G E
S Y S IN SYSO UT
SYSO UT
N e tw o rk j o b e n try
JC L (N J E )
J C L & S Y S IN SS PP OO OO LL
DD IS
IS KK
JES Initiators
//MYJOB JOB 1,CLASS=A
where CLASS=jobclass
JES2 Bookshelf
Commands
Initialization and Tuning Guide
Initialization and Tuning Reference
Introduction
Unit summary
Having completed this unit, you should be able to:
•
Understand relationship between JCL and JES
•
Describe JES spool
•
List 3 JES queue types
•
Describe JES initiator
•
Describe relationship between SDSF and JES
21