Text preview for : GC21-7632-5_System3_Model15_UsersGuideToSpooling_Sep79.pdf part of IBM GC21-7632-5 System3 Model15 UsersGuideToSpooling Sep79 IBM system3 GC21-7632-5_System3_Model15_UsersGuideToSpooling_Sep79.pdf
Back to : GC21-7632-5_System3_Model | Home
aaaa aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aoaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaa aaaa
aaaa aaoa
aoaa aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aaaoaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaa aaaa aaaa
aaoa aaaa aaaa
aaaa aaaa aaaa
aaaaaaaaaaaaaaaaaa
oaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaao
aaaaaa aaaaaa
aaaa aaao
aaaa
aaaa
aaaaaaaaaaaaaaaaaa
aaaa
oaaa IBMSystem/3
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaaa
Model15
aaaaaaaaaaa
oaaaaaaaaaa
aaaaaaaaaaa
User'sGuideto Spooling
aaaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
a a aaa a a aoa aa a a aa a a
aaaaaaaaaaaaaaaaaa
aaaa aaaa
aaaa aaaa
aaaaa
aaaaaa
aaaaaaa
aaaaaaaa
aaaaaaaa
a aaaa
a aaaa
a aaaa
a aaaaaa
a aaaaaa
aaaaa
aaaa
aaaaaaa
aaaaa
aaaa
aaaa
aoaa aaaaa
aaaaa aaaaaaa
aaaaaa aaaaaaaaa
aaaaaaa aaaaaaaaaaa
aaaaaaa aaaaaaaaaaa
aaaa aaaa aaaa
aaait aaaa aaaa
aaaa aaaa aaaa
aaaaaaaaaaaa aaaoaa
aaaaaaaaaaaa oaaaaa
aaaaaaaaaa aaaoa
aaaaaaaa aaaa
aaaaaa
aaaaaa
aooaao
aaaaaa
aaaaaa
aaaa aaaa
aaoa aaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
oaaa aaaa
aaaa aaaa
aaaaaa
aaaaaa
aaaaaa
aaoaaa
a aaa
aaaa
aaaaaaaaaao
aaaaaa aa aaa
aaaaaaa aaaa
aaaaaaaaaaa
aaaoaaaaaaa
aaaaaaaaao
aaaaaa.aaaaaaaaaaa
aaaoaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
oaaaoaaaaaaaaaaaaa
oaoa aaaa
aaaa aaaa
GC21-7632-5
File No. 53-30
aaaa aaaaaa
aaaaa aaaaaa
aaaaaa aaaaaa
aaaaaaa aaaaaa
aaaaaaa aaaa aaaa
aaaa aaaoa aaaa
aaaa aaaaaa aaaa
aaaa aaaaaaaaaaa
aa aoa o a a a a a a aa a a a a a
aaaaaaaaaaa aaaaaa
aaaaaaaaaa aaaaa
aaaaaaaa aaaa
aaaaaa
Preface
T h i s p u b l i c a t i o ns d e s i g n ea sa t u t o r i a la i d f o r I B M S y s -
i d l n o r d e rt o u n d e r s t a ntd e t e x t . t h e r e a d e m u s tb e f a m i l i a r
h r
t e m / 3 M o d e l1 5 s y s t e m p e r a t o r s t c a na l s ob e u s e d sa
o i; a w i t h t h e o p e r a t i o n f t h e S y s t e m / 3 o d e l1 5 o r w i t h a
o M
reference manualfor spooling siupport.In general, pro- the System/3 Model 10 Disk System.tBM System/3 Modet l5
grammeroranalystdoesnotneedtobeconcernedwith l n t r o d u c t i o n , C 2 1 - 5 0 9 4 , d e s c r i b e s M lo d e ln c e p t s .
G 5co
f
s p o o l i n gu n c t i o n s n d o p e r a t i o n s ;o w e v e rw i t h a n u n d e r -
a h , p s
O t h e rr e l a t e d u b l i c a t i o na r e :
s t a n d i n g f s p o o l i n gh e o r s h ec a na l t e rt h e a p p l i c a t i o t o
o , n
achieve optimal results. . tBM System/3Model 15 Operator's
Guide,GC21-5075
Thesetopics are described tl'rispublication:
in . tBM System/3Modet l5 SystemControl programming
ReferenceManual GC21-5077
. (for 5704-SC1)
. Spooling oncepts
c
. l8M System/3 Model l5 System Control Programming
o Processing spooling
with Conceptsand Reference Manual GC21-5162
, (for
5704-SC2)
o P r o c e s s i n g t h o u ts p o o l i n g
wi
. IBM System/3 Model l5 System Generation Reference
o The relationship spooling other system
of to facilities Manual GC2l-7616
.
o OCC (operator
control commands)
usedwith spooling o IBM System/3Modet l5 SystemMessages,
GC21-b076
o S p o o l i n g i m p l i c a t i o n sf o r O C L ( o p e r a t i o nc o n t r o l . IBM System/3 Model 15 3340 Direct AccessStorage
language) Facility Reference
Manual GC21-51 1
, 1
o S p o o l i n gp e r f o r m a n c e o l8M System/33741 Reference
Manual GC21-5113
,
I
o S p o o l i n gp r o b l e m s i t u a t i o n s I o tBM System/3Model 15 MasterIndex,GC2|-52O2
I
Sixth Edition (September
1979)
T h i s i s a m a j o r r e v i s i o n o f , a n d o b s o l e t e s ,G C 2 1 - 7 6 3 2 - 4a n d t e c h n i c a l n e w s l e t t e r
G N 2 1 - 5 6 3 3 . C h a n g e s r a d d i t i o n s t o t h e t e x t a n d i l l u s t r a t i o n sa r e i n d i c a t e d b y a v e r t i c a l
o
l i n e t o t h e l e f t o f t h e c h a n g eo r a d c l i t i o n .
T h i s e d i t i o n a p p l i e st o v e r s i o n 0 7 , m o d i f i c a t i o n 0 O o f t h e I B M S y s t e m / 3 M o d e l 1 5
S y s t e m C o n t r o l P r o g r a m 5 7 0 4 - S Cl ; t o v e r s i o n 0 4 , m o d i f i c a t i o n 0 0 o f t h e I B M S y s t e m / 3
M o d e l 1 5 S y s t e m C o n t r o l P r o g r a m 5 7 O 4 - S C 2 ; n d t o a l l s u b s e q u e n t e r s i o n sa n d
a v
m o d i { i c a t i o n su n t i l o t h e r w i s e i n d i c a t e d i n n e w e d i t i o n s o r t e c h n i c a l n e w s l e t t e r s .
C h a n g e s r e p e r i o d i c a l l y m a d e t o t h e i n f o r m a t i o n h e r e i n ;c h a n g e s i l l b e r e p o r t e d i n
a w
technicalnewsletters r in new editions of this oublication.
o
Use this publication only for the purposes stated in the Preface.
P u b l i c a t i o n sa r e n o t s t o c k e d a t t h e a d d r e s sb e l o w . R e q u e s t sf o r c o p i e so f I B M
p u b l i c a t i o n sa n d f o r t e c h n i c a l i n f o r m a t i o n a b o u t t h e s y s t e m s h o u l d b e m a d e t o y o u r
I B M r e p r e s e n t a t i v e r t o t h e b r a n c h o f f i c e s e r v i n gy o u r l o c a l i t y ,
o
T h i s p u b l i c a t i o n c o u l d c o n t a i n t e c h n i c a l i n a c c u r a c i e s r t y p o g r a p h i c a le r r o r s . A d d r e s s
o
y o u r c o m m e n t s a b o u t t h i s p u b l i c a t i o n t o I B M C o r p o r a t i o n , p u b l i c a t i o n s ,D e p a r t m e n t 2 4 5 ,
R o c h e s t e r ,M i n n e s o t a 5 5 9 0 1 . I B M m a y u s e a n d d i s t r i b u t e a n y o f t h e i n f o r m a t i o n y o u
s u p p l y i n a n y w a y i t b e l i e v e s p p r o p r i a t ew i t h o u t i n c u r r i n g a n y o b l i g a t i o n w h a t e v e r . y o u
a
m a y , o f c o u r s e ,c o n t i n u e t o u s e t h e i n f o r m a t i o n y o u s u p p l y .
@f nternationaBusinessMachinesCorporation 74,1975,1976,1g7j,1g78, 1g7g
l 19
Contents
C H A P T E R1 . I N T R O D U C T I O N CHANGF Copies 5-5
Levels f Support
o t-z F un c t i o n 5-5
C o n c e p t so f S p o o i O p e r a t i o n 1-3 Fo r m a t 5-5
Advanra-cres Spooling.
o{ t-J C o nt e nt s 5-5
U s e rC o n t r o l t-J Considerations 5-5
CHANGE Core 5-6
CHAPTEB 2. PFOCESSING ITH SPOOLING W z-l Fu n c t i o n 5-6
G e n e r a t i n g S p o o l i n gS y s t e m .
a z- | Fo r m a t 5-6
IPL 2-4 Con ter'lts 5-6
Reatling lnput Spooling)
( z-c Considerations 5-6
Job Stream 2-5 CHANGE FormsType 5-7
R e a d e rO u e u e l-o F u n c t io n 5-7
E x e c u t i n gJ c b s 2.10 Format 5-7
l d e n t i l i c a t i o no n t h e O u e u e 2-10 C o nt e nt s 5-7
D e v i c eC o n l e i t t i o n C o n s i d e r a to n s
i 5-7
C o n : ; i d e r ao n s
it l-t3 CHANGE Partition 5-8
O p e r a t o rC o n t r o l 2-13 Function 5-8
P r in t i n g a l A
Fo r m a t 5-8
DEFEROption 2.15 C o nt e n t s 5-8
SpoolFile Securiry 2-16 Considerations 5-8
G r o u p i n qJ o b S t e p s . z- to CHANGE Priority 5-9
RestartinghePrint Writer .
t z- to Functions 5-9
Clranging orms . F z- to Fc J r m a t 5-9
S t a r t i n gt h e P r i n t W r i t e r U s i n ga F o r m s T y p e C o nt e n t s 5-9
FormsAliqnment 2,17 Considerations 5-10
l \ , l u l r i p l eC o p i e s 2-17 DISPLAY 5-11
C h a n g i n gh e P r i n t C h a i n / T r a i n
t 2.18 Funclions 5-11
E r r o r C o ; r r i iilo r r s . 2-1A Fornrat 5-1 1
O p e r a i o rC o n t r o l 2,19 Contents 5-'t1
D i s p l a y i n g h e C u r r e n t P r i n t e dP a g e o u n t
t C z-z I Considerations 5-1 5
Prrntrnghe LaslPages irst
t F z-1 | HIPTY 5-17
S k i 1 . : p i r rB a c k S e v e r a lP a g e s
g F un c l i o n 5-17
P un c hrn g t-z I Format , 5-17
I J E F E RO p t i o n Contents 5-17
S p o o l F r l eS e c u r i t y 2-22 Considerations 5-17
R B s t d r l r l gt t r eP u r r c l W r i t e r
r HOLD 5-18
Readrrrgnd Purrctting ') -t',
a F r tn c t i o n s 5-18
Chanqinq ardIypes C z'zJ Fo r m a t 5-'l8
M u l t i p l eC o p r 0 s 2.23 C o nt e n t s 5-18
ErrorConditions z-zJ Considerations 5-18
O p e r a t o rC o n t r o l o f P u n c hS p o o l i n g z-14 KEEP 5-19
Fun c t i o n 5-19
CHAPTER 3. PROCESSING ITHOUT SPOOLING
W J-l F orfilat $19
Contents 5-19
CHAPTER 4. PROCESSING ITH OTHER SYSTEM
W C c n s id er a t io n s 5-19
FACILITIES 4-1 PTY 5-20
Checkpoint/Restart. 4.1 Fu n c t i o n 5-20
R ol l o u t / R o l i n
i 4-2 Fo r m a t 5-20
Contents +20
CHAPTER 5. OPERATOR CONTROL COMMANDS FOR C o n s i d e r a to n s
i 5-20
SPOOLING 5-1 READER, 5-21
CANCEL. 5-2 F u n c t io n 5-21
Fun c t i o n s 5.2 Format 5-2'l
Format 5-2 C o n t e nt s 5-21
C o nt e nt s 3 1 Considr-'rations 5-21
C o n si d er a t i o n s 5-3 R EL.EASE 5-22
C H A N G T C a r c lT y p e 5-4 Functions 5-22
F u n c t io n 5,4 [: ormat 5-22
Fo r m a t 5,4 (--ontents 5-22
C o nt e nt s .;-4
Considerations 5-22
Consideraons il F A
RESTART 5-23 CHAPTER 7. PERFORMANCE 7.1
Funcrions c- zs P e r i o r m a n c eF a c t o r s 7.1
F o r r n aI s-23 S y s t e mC o n s i d e r a r i o n s 7.1
Conten s t 5-23 A p p l i c a ti o n C o n s r d e r a r r o n s . 7-1
C o n s r d ca l i o n s
r s-23 U s e rP r o g r a mC o n s i d e r a t i o n s 7 _?
REUSE 5-24 O p e r a t i o n a C o n s i d e r ai r n s .
l o t-J
F u n Lt r ( r l ) 5-24
Fo r n r a t 5-24 CHAPTER 8. PROBLEM SITUATIONS. 8-1
C o n| ( ' ni s 5-24 Spool File ls Full 8-1
C o n s r d e r ao tn s
t 5-24 Permanent isk Errors
D 8-1
START 5-25 DeviceFailures 8-1
Functrons. 5-25 Lost Jobsor Job Steps 8-1
Fo r m a i 5-25
C o nt e nt s s-25 CHAPTER 9. SECOND 1403 PRINTER 9-1
C o n s r d e rIao n s
i 5-26 Operator Control Commanos 9-1
STOP , 5-27 O p e r a t r o n aC o n s i d e r a t i o n s
l 9,1
Funclions 5-21 P r i n t O u e u eD i s p l a y. 9,2
Format 5-27 M a i n S t o r a g eR e q u i r e m e n t s 9-2
C o nt e nt s 5-27
Considerations 5-28 APPENDIX A. FORMAT OF THE OUEUES A-1
CHAPTER 6. OCL CONSITIERATIONS. 6-1 APPENDIX B. MAIN STORAGE REOUIREMENTS B-1
A S S IG N b-l
Function 6-1 APPENDIXC. SIZE OF SPOOLAREA . c-1
Placcment tr- I
Fo rm a t 6-1 A P P E N D I X D . S I Z E O F T R A C K G R O U P S. D-1
Fxample 6-1
JOB 6-2 APPENDIX E. SPOOL MESSAGES E.1
F uncilon b-2
Pl a c e m e n t 6-2 APPENDIX F. OPERATOR CONTBOL COMMANDS
Format 6-2 ( O C C }S U M M A R Y , F-1
C o nt e n t s 6-2 I n f o r m a t i o nA b o u t S y n t a x l l l u s t r a t i o n s r-l
C o nsi d er a t i o n s 6-3 OCC List r- I
PRINTER 64
Functiorrs. 6-4 GLOSSARY u l
Pl a c e m e n t 6-4
Fo r m a t 64 INDEX x-1
Contents 6-4
C o n s i d e r ta o n s
i 6-5
PUNCH 6
Functions. 6-6
Placement 6
Formar 6
C o nt e n t s 6
C o ns i r l e a t i o n s
r b- /
READER 6-8
Function 6-8
Placemeni 6-8
Fornrat 6-8
C o nt e n t s b-6
C o n s i d ea t i o n s
r 6-8
6-9
Functions. 6-9
['lacement 6-9
Format 6-9
Corrtent 69
C o ns i d er a t i o n s 6-9
Chapter1. Introduction
S p o o l i n g i s a n o p t i o n a l f a c i l i t y o f t h e s y s t e mc o n t r o l p r o - When directly attached to the Model 15, the 3741 Data
g r a m s ( P r o g r a mN u m b e r s5 7 0 4 - S C 1a n d 5 7 0 4 - S C 2 )f o r Station Model 1 ot 2 ot 3741 Programmable ork Station W
S y s t e m / 3M o d e l 1 5 . M o d e l 3 o r 4 c a n b e u s e d a s t h e s o o o l e di n o u t d e v i c e .
W h e n t h i s o p t i o n i s s e l e c t e d 1 - t h r o u g h 1 2 8 - b y t er e c o r d s
,
I n a d d i t i o nt o t h e m i n i m u m s y s t e n c o n { i g u r a t i o no r
l t c a n b e r e a d . S p o o l i n gw i l l t r u n c a t e ( o n t h e r i g h t ) o r p a d
S y s t e m C o n t r o l P r o g r a m5 7 0 4 S C 1 , s p o o l r e q u i r e s5 4 4 5 w i t h b l a n k s ( o n t h e r i g h t ) t h e 3 7 4 1 r e c o r d st o f i t t h e u s e r
D i s k S t o r a g eM o d e l 1, 2 , o r 3 w h e n u s i n g a S y s t e m / 3 p r o g r a m ' sr e q u e s t e d e n g t h . I n t h i s p u b l i c a t i o n ,r e f e r e n c e s
l
M o d e l 1 5 A . F o r i n f o r n r a t r o n o n c e r n i n gh e m i n r m u m
c t t o c a r d i n p u t a l s oa p p l y t o i n p u t f r o m t h e d i r e c t l y a t t a c h e d
s y s t e mc o n f i g u r a t i o n s o r t h e s y s t e mc o n t r o l p r o g r a m s
f 3741.
( 5 7 0 4 S C 1 a n d 5 7 0 4 - S C 2 ) , e eo n e o f t h e f o l l o w i n g
s
publications: I t i s p o s s i b l e o s p o o l u n i t - r e c o r dd e v i c e su s e d i n a p r o g r a m
t
p a r t i t i o n t h a t i s p e r f o r m i n g t e l e p r o c e s s i no p e r a t i o n s . l t
g
. IBM System/3 Model l5 System Generation Reference i s n o t p o s s i b l e o s p o o l r e a d e r s p u n c h e s ,o r p r i n t e r sa t t a c h e d
t ,
M a n u a l .c C 2 1 7 6 1 6 t o t e r m i n a l st h a t a r e c o n n e c t e dt o t h e s y s t e mu s i n gt h e
b i n a r y s y n c h r o n o u s o m m u n i c a t i o n sa d a p t e r ,m u l t i p l e l i n e
c
. IBM System/3 Model lS lntroduction, cC21-5094 t e r m i n a l a d a p t e r ,o r l o c a l c o m m u n i c a t i o n s d a p t e r .
a
A l t h o u g h p a r t i t i o n 3 ( P 3 ) a n c l3 3 4 4 D i r e c t A c c : e sS t o r a g e
s The IBM Systemi3Model 15 is a two- or three-partition
a r e d i s c u s s e dh r o u g h o u t t h i s m a n u a l ,t h e y a r e s u p p o r t e d
t m u l t i p r o g r a m m i n gs y s t e m . ( S C P5 7 0 4 - S C 1s u p p o r t st w o
o n l y b y S y s t e m C o n t r o i P r o g r a m5 7 0 4 S C 2 . p a r t i t i o n s ;S C P 5 7 0 4 - S C 2s u p p o r t st h r e e p a r t i t i o n s . )
S p o o l i n g ,a n o p t i o n a l f a c i l i t y o f t h e s y s t e mc o n t r o l p r o -
A c o m p a r i s o r o f p o s s i b l e i s k st o r t h e s p o o l f i l e i s q i v e r r
r d g r a m ,c a n i m p r o v e t h e t h r o u g h p u t o f a n a p p l i c a t i o n .
in Figure -1.
1 S y s t e m / 3 M o d e l I 5 o f f e r s a v a r i e t y o f o p e r a t i n ge n v i r o n -
ments:
Spool FileDisk Types
O n e - ,t w o - . o r t h r e e - b a t c hp a r t i t i o n s ,e a c h w i t h o r
3344 Main
without spooling
3340 Main Data Area Data Area
System Control 5 /04 Srl1 5704S;a:2i; i 04 sc2 a C o m b i n a t i o n so f b a t c h a n d c o m m u n i c a t i o n s , a c h w i t h
e
Progrant Nunriri:r or without spooling
P o s s r b lU n r l
c D 1 ,D 2 D 1 ,D 2 D 1 ,D 2 , L , 3 ,D 4 , S p o o l i n gs u p p o r t f o r t h e M o d e l 1 5 f a c i l i t a t e sh a n d l i n g
Cocles D 3 ,D 4 D 3 ,D 4 D3 D31 D31. 32,D u n i t - r e c o r di n p u t a n d o u t p u t a t d i s k l / O s p e e d ,t h e r e b y
D4 D41 D 3 3 ,D 3 4 ,
i n c r e a s i n go t a l s y s t e mt h r o u g h p u t .
t
D 4 1 ,D 4 2 ,
t)43. D44
W i t h s p o o l i n g ,a j o b i s s t o r e d o n d i s k . W h e n t h e p r o c e s s i n g
Maxirnurl Sizi, 186 u n i t b e c o m e sa v a i l a b l e t h e j o b i s t r a n s f e r r e d r o m d i s k t o a
, f
rn Cylinders p r o g r a mp a r t i t i o n . A s t h e j o b e x e c u t e s , t s p r i n t e d a n d / o r
i
p u n c h e do u t p u t i s s t o r e d o n d i s k . U p o n o p e r a t o r r e q u e s t ,
F i g u r e 1 - 1 . C o m p a r i s o no f P o s s i b l eD i s k s f o r t h e S p o o l F i l e t h e o u t p u t m a y b e p r i n t e d a n d / o r p u n c h e dw h i l e o t h e r i o b s
a r e e x e c u t i n g ;t h u s , t h e j o b e x e c u t e s i t h o u t h a v i n gt o w a i t
w
W i t h 5 7 0 4 S C 2 ,t h e s p o o l f i l e c o p v p r o g r a m ( S O C O P Y )c a n f o r t h e s l o w u n i t - r e c o r dd e v i c e s .
b e u s e dt o c o p y e n t r i e st o a n d f r o m t h e s p o o ! q u e u e s . R e f e r
to the IBM Systent/3 Model l5 Sy.sten Control Programming
Concepts and Reference Manttal , GC21 5162, for infornration
about $OCOPY.
Introduction 1- 1
Whenevera spooled reader,card punch, or printer becomes The following unit-record devicescan be spooled:
i n o p e r a t i v e t h e s y s t e mc o n t i n u e sp r o c e s s i n go b s a l r e a d y
, j
o n d i s k . W h e n t h e l / O u n i t b e c o m e s p e r a t i v ea g a i n ,
o o 5424 MFCU
r e a d i n g .p u n c h i n g ,o r p r i n t i n g c o n t i n u e sw i t h o u t a l o s so f
o u t p u t o r p r o c e s s i n gi m e .
t o 2560 MFCM
W i t h s p o o l i n g .p r o g r a m sc a n b e r u n i n d i f f e r e n t p a r t i t i o n s . 1442Card Read punch
without the need for separateunit-record devicesfor each
partition. The printer, for example. can be used by multiple o Directly attached 3741 Data Station/programmableWork
p a r t i t i o n si f i t i s b e i n g s e r v i c e d y t h e s p o o l i n gf u n c t i o n .
b Station (input only)
Performanceof a spooling system varieswidely. In some . 2501 Card Reader
cases, such as applications with short programs or with
s m a l l a m o u n t s o f u n i t - r e c o r dl l O , s p o o l i n gm a y o f f e r l i t t l e o 1403 Printer
o r n o a d v a n t a g e .I n o t h e r c a s e s s u c h a s t h o s e i n w h i c h
.
unit-record device contention is a problem, spooling can The combination of devicesthat can be used with the
p r o v i d e s u b s t a n t i a b e n e f i t si n o v e r a l la p p l i c a t i o n
l d i f f e r e n t l e v e l so f s p o o l i n gs u p p o r t i s s h o w n i n F i g u r e 1 - 2 .
throughput. The user also choosesthe program partitions to be supported
by spooling: partition 1 only, partition 2 only, partition 3
only, or any combinationof partitions.
LEVELS OF SUPPCIRT
This publication assumesthat you have selectedinput,
A u s e r n e e d n o t s p o o l a l l u n i t - r e c o r dl / O a c t i v i t y ; d u r i n g print, and punch spooling.
s y s t e mg e n e r a t i o n , , n eo f t h e f o l l o w i n g f o u r l e v e l s f l / O
o o
support can be selected:
. Print spooling
. Print and punch srpooling
o Input and print s1:ooling
. Input, print, and punch spooling
L E V E LO F S U P P O R T
P r in t P r i nt / P u n c h I nput/Print I nput/Print/Punch
P r in t e r 1403 X X X X X X X X X X X X X X X X X X X
MFCU X X X X X
Punch
MFCM X X X X
Device
14/.2 X X X X X
MFCU X X X
MFCM X X
I nput
1442 X X X
Device
2501 X X X X
3741 X X X X
F i g u r e 1 - 2 . C o m b i n a t i o n o f D e v i c e sA v a i l a b l e f o r D i f f e r e n t L e v e l so f S p o o l i n g S u p p o r t
C O N C E P T SO F S P O O L O P E R A T T O N U S E RC O N T R O L
To handle a system's unit-record l/O without depending on E x e c u t i o n f t h e s p o o l i n gu n c t i o ni s c o n t r o l l e d a i n l yb y
o f m
l/O device speeds,spooling support utilizes disk spaceon the system operatorthroughOCC (operator control com-
5445 Disk Storage or on the main data area of a 3340 Direct mands)but alsoby the systemprogrammer throughOCL
AccessStorage Facility or 3344 Direct AccessStorageas ( o p e r a t i oc o n t r o ll a n g u a g e ) .
n
i n t e r m e d i a t e t o r a g ef o r a r e a sk n o w n a s q u e u e s( s e eF i g u r e
s
1 - 3 ) . n s j o b s t r e a m s( i n c l u d i n go p e r a t i o nc o n t r o l l a n g u a g e The operatorcontrolssystem spooling activity by entering,
s t a t e m e n t s p r o g r a m s . n d d a t a ) f o r t h e i n d i v i d u a lp a r t i -
, a t h r o u g h h e C R T / k e y b o a r d , C Ct o m o n i t o r ,c o n t r o l ,a n d
t O
tions are read, a spooling routine stores each job in the communicate with the spooling routines.Throughoperator
r e a d e rq u e u e ;t h i s r o u t i n e i s c a l l e dt h e r e a d e r . control,the spooled reader and output writerscan start
a n ds t o pi n d e p e n d e n tf p r o g r a m x e c u t i o n .F o r e x a m p l e ,
o e
After a job has been completely read and stored in the read- the operator can hold job input in the reader queuefor
e r q u e u e ,i t i s r e a d yt o b e t r a n s f e r r e d o t h e a p p r o p r i a t e
t execution a latertime, allowingjobs that needmore
at
p a r t i t i o n f o r e x e c u t i o n . A l l r e c o r d sa p p e a rt o t h e p a r t i t i o n e x e c u t i o ni m e t o b e h e l du n t i l t h e s y s t e ms l e s s c c u p i e d .
t i o
a s t h o u g h t h e y w e r e j u s t r e a d f r o m t h e p h y s i c a li n p u t d e v i c e . Or, the operator can hold iob output in the punchand
W h e n a l l j o b s t e p si n t h e j o b h a v e b e e n e x e c u t e d ,t h e s p o o l - p r i n t q u e u e s n t i l i t i s c o n v e n i e n t p u n c ho r p r i n t i t .
u to
i n g s u p p o r t r e m o v e s h e j o b f r o m t h e r e a d e rq u e u e .
t
The systemprogrammer makeefficientuseof the sys-
can
P r i n t e da n d p u n c h e d o u t p u t i s a l s o s t o r e d t e m p o r a r i l y o n t e m i n d e f i n i n g h e j o b sa n d s u p p l y i n g C L f o r e a c hj o b .
t O
d i s k i n q u e u e s . S p o o l i n gr o u t i n e sc a l l e dt h e p r i n t w r i t e r F o r e x a m p l ei,f o n e j o b ( D ) s p o o l s l a r g e o l u m e f p r i n t
a v o
a n d p u n c h w r i t e r e n a b l ep r i n t i n g a n d / o r p u n c h i n go f t h e and/orpunchoutput, it is advantageous complete to that
d a t a i n t h e p r i n t q u e u ea n d p u n c h q u e u e u p o n o p e r a t o r job beforeexecuting series processing-oriented
a of jobs
r e q u e s t( s e eF i g u r e s1 - 4 a n d 1 - 5 ) . (A,B,C):
Job Characteristics
ADVANTAGES OF SPOOLING
A Processing-oriented
T h e p r e c e d i n g o n c e p t so f s p o o l i n go p e r a t i o n p o i n t o u t
c B Processing-oriented
these advantages spool support:
of C Processing-oriented
D l/O oriented
a A s y n c h r o n o u so p e r a t i o n
lf the output writersarestarted while the processing'
o l m p r o v e d s y s t e mp e r f o r m a n c e orientedlobs areexecuting, processing and the
the unit
l / O d e v i c ec a n b e u s e ds i m u l t a n e o u s l v .
s
o R e d u c e dd e v i c ec o n t e n t i o n
A n e x a m p l e f O C L s p o o l i n g o n t r o li s t h e D E F E R - N O
o c
Asynchronous operation. Readingthe input records from p a r a m e t e rn t h e P R I N T E Ra n d P U N C Hs t a t e m e n t sW h e n
o .
t h e s p o o l e d r e a d e rt o d i s k , p r i n t i n g t h e s p o o l e d p r i n t r e - programmer
the system includes this statement, the
c o r d s o n t h e p r i n t e r , a n d p u n c h i n gt h e s p o o l e dp u n c h
operatorcan start the print or punchwriter while the job
r e c o r d so n t h e c a r d p u n c h a r e f u n c t i o n s o f s p o o l i n gt h a t
stepproducing output is still executing.
the
o c c u r i n d e p e n d e n t l yo f p r o g r a m se x e c u t i n gi n t h e p a r t i t i o n s .
lmproved system performance. The execution time of any
one job is likely to be decreasedbecauseunit-record oper-
a t i o n s a r e p e r f o r m e d a t d i s k l / O s p e e d s .S p o o l i n gw r i t e s
b l o c k e d i n p u t a n d o u t p u t r e c o r d so n d i s k , f u r t h e r I n c r e a s -
i n g s y s t e mt h r o u g h p u t b e c a u s e h e n u m b e r o f d i s k l / O
t
o p e r a t i o n si s l e s st h a n t h e e q u i v a l e n tn u m b e r o f u n i t - r e c o r d
o o e r a ti o n s ,
Reduced device contenfiol,. Becausemore than one oarti-
t i o n c a n r e f e r e n c e h e s a m ed e v i c ea t t h e s a m et i m e , o n e
t
partition does not have to wait for the other partitions to
free the device.
lntroduction 1-3
Punch ueue
Q
Spool and
P r i n tO u e u e
Spool
Disk
Data
Fi l e s
f y ' o f e ; U s e r f i l e s o n d i s k a n d m a g n e t i ct a p e sa r e n o t h a n d l e d b y t h e s p o o l i n gf u n c t i o n .
Figure1-3. Processing
with Spooling
The JOB statement is read from the spooled reader and
q u e u e do n t h e d i s k b e f o r e t h e s t a r t o f a j o b . S i m i l a r l y ,t h e
j o b o u t p u t i s s t o r e do n t h e d i s k i n p u n c h a n d / o r p r i n t
q u e u e s ;p u n c h i n ga n d p r i n t i n g o c c u r sl a t e r .
N o t e : A s i n g l ed i s k c o n t a i n st h e r e a d e r ,p r i n t , a n d p u n c h
queues.
't4
Spooling
R ou t i n e s
Partition'l
Spool Reader
( d e s i g n a t e d st h e
a
Spool File
spool Input device P a r t i t i o n2
during system
generation)
P a r t i t i o n3
J o b s a r e r e a d b y t h e s p o o l r e a d e ra n d s t o r e d o n d i s k .
Partition1
P a r t i t i o n2
Partition
3
Jobs are transferred from the reader queue to one of
t h e p a r t i t i o n s ,a s r e q u i r e d .
Figure1-4. Spooling
Operation
lntroduction 1-5
Supervisor
Reader
Spooling Oueue
Routines P r in t
Orrerr
Partition1 Punch
Oueue
P a r t i t i o n2 Spool File
Partition
3
A s t h e j o b s a r e e x e c u t e di n t h e p a r t i t i o n s ,t h e i r o u t p u t
is storedin the spool file.
Partition
2
Partition
3
J o b o u t p u t i s p u n c h e do r p r i n t e d a t a l a t e r t i m e , i n d e .
p e n d e n t o f j o b s c u r r e n t l y e x e c u t i n gi n t h e p a r t i t i o n s .
Figure1.5. Spooling
Operation
Chapter 2. Processing
with Spooling
This chaptercovers followingspooling
the topics: T h e l e v e l f s p o o ls u p p o r t e t e r m i n ew h i c h u n i t - r e c o r d
o d s
d e v i c ec a nb e s p o o l e d . h e s e l e c t e ld v e l a na p p l yt o
s T e c
. Generating spooling
a system p a r t i t i o n1 , p a r t i t i o n2 , p a r t i t i o n , o r a n y c o m b i n a t i o n f
3 o
p a r t i t i o n s .l f i n p u t s p o o l i n gs c h o s e n u r i n gs y s t e m e n e r a
i d g
o I P L ( i n i t i a lp r o g r a mo a d )
l t i o n , o n e o f t h e f o l l o w i n g n p u t d e v i c e m u s tb e s e l e c t ea s
i s d
t h e d e v i c er o m w h i c hs p o o l e dn p u tw i l l b e r e a d :
f i
o R e a d i n gi n p u ts p o o l i n g )
(
M F C U l ( M F C Up r i m a r y o p p e r )
h
a Job execution M F C U 2( M F C Us e c o n d a r yo p p e r )
h
1442
o Printing M F C M l ( M F C Mp r i m a r y o p p e r )
h
M F C M 2( M F C M e c o n d a r yo p p e r )
s h
o Punching 2501
3741(directly ttached)
a
GENERATING SPOOLING YSTEM
A S l f p u n c hs p o o l i n gs c h o s e n u r i n gs y s t e m e n e r a t i o n ,n e
g
i d o
o f t h e f o l l o w i n gp u n c hd e v i c e m u s tb e s e l e c t e a st h e
s d
D u r i n g y s t e m e n e r a t i o nh e u s e rc h o o s ets e s p o o l i n g
s g t. h d e v i c e n w h i c hs p o o l e d u t p u t w i l l b e p u n c h e d :
o o
supportneeded according theseto considerations:
M F C U l ( M F C UP r i m a r Y o p p e r )
h
A m o u n to f m a i ns t o r a g e v a i l a b l e
a M F C U 2( M F C Us e c o n d a rh o p p e r )
y
Diskspace available 1442
Jobstream haracteristics
c M F C M 1( M F C Mp r i m a r yh o p p e r )
D e s i r e dh r o u g h p u t
t M F C M 2( M F C Ms e c o n d a rh o p p e r )
y
f o s c
O n eo f t h e f o l l o w i n g o u r l e v e l s f s p o o l i n g u p p o r t a n T h e 1 4 0 3p r i n t e ri s a l w a y s u p p o r t e d h e n e v es p o o l i n gs
s w r i
b e s e l e c t ed u r i n gs y s t e m e n e r a t i o n :
d g s p e c i f i e d .n d i t i s t h e o n l y
a p r i n t e rt h a t c a nb e s p o o l e d .F o r
5 7 0 4 - S Co n l y , a n a d d i t i o n a1 4 0 3p r i n t e rc a nb e s e l e c t e d
2 l
P r i n ts p o o l i n g d u r i n gs y s t e m e n e r a t i oa n d u s e db y a s e c o n d p o o lp r i n t
g n s
P r i n ta n d p u n c hs p o o l i n g w r i t