Text preview for : SC21-7522-8_System3_DiskSortReferenceManual_Mar80.pdf part of IBM SC21-7522-8 System3 DiskSortReferenceManual Mar80 IBM system3 SC21-7522-8_System3_DiskSortReferenceManual_Mar80.pdf



Back to : SC21-7522-8_System3_DiskS | Home

aaaa aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaa aaaa
oaaa aaaa
aaae aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaaaaaaaaaaaaaaaa
oaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaa aaaaaa
aaaa aaaa
aaaa
aaaa
aaaa
aaaa
aaaaaaaaaoaaaaaeaa
IBM System/3
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaoaaaaaaaaaa
aaaaaaaaaa
DiskSort
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
ReferenceManual
aaalaaaaaaa
aaaaaoaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaoa aaoa
aaaa aaaa



Disk Sort ProgramNumbers:
5702-SM1 (Modets and 10)
8
S703-SM1 (Modets and 6)
4
5704-SM1 (Modet15)
5704-SM9 (Modet1b)
5705-SM1 (Modet12)

CCP/Disk
Sort ProgramNumbers:
5703-SM2 (Modet4)
5704-SM7 (Modet15)
5799-ATF(Models and 10)
8
5799-ATG(Model 121
5799-ATH(Modet1S)



aaa
aaa
aaa
aaa
aaaa a
aaaa a
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
aaaa aaaa a
aaoa aaaa a
aaaa aaaa a
aaaaaa aaaa aaa
aaaaaa aaa
aaaaaa aaa
aaaaaa aaa
aaaa a
aaaa a
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
aaaoaaaaaaaaaaa
aaaaaaa
aaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaa
aaaaaaa




P r o g r a mP r o d u c t
sc21-7522-8
aaaa aaaaaa
aaaaa
aaaaaa
aaaaaa
aoaaaa
FileNo.53-33
aaaaaaa aaaaaa
aaaaaaa aaaa aaaa
aaaa aaaaa aaaa
aaaaaa aaaa
aaaaaaaaaaa
aa
aaaaaa
aaaaa
aaaa
Ninth Edition (April 1978)

T h i s i s a m a i o r r e v i s i o n f , a n d o b s o l e t e s , S C 2 l ' 1 5 2 2 -a n d t e c h n i c a l e w s l e t t e r s
o 7 n
S N 2 1- 5 4 0 5 .S N 2 1 - 5 5 1 , a n d S N 2 1 - 5 4 9 5 . B e c a u s eh e c h a n g e s n d a d d i t i o n sa r e
1 t a
e x t e n s i v et,h i s m a n u a ls h o u l db e r e v i e w e d n i t s e n t i r e t , .
i

T h i s e d i t i o n a p p l i e s o t h e f o l l o w i n q I B M S y s t e m / 3p r o g r a m s n d t o a l l s u b s e q u e n t
t a
v e r s i o n s n d m o d i fi c a t i o n s n t i l o t h e r w i s ei n d i c a t e di n n e w e d i t i o n so r t e c h n i c a l
a u
newsletters.

Version Modif ication P r o g r a mN u m b e r ProgramName Model


16 o 5703-SM2 C C P / D i s kS o r t P r o g r a m 4
16 0 5799-ATF C C P / D i s kS o r t P r o . r y r a m 8, 10
5 0 5799-ATG CCP/Disk ortProgram
S 12
7 0 5799-ATH C C P / D i s kS o r t P r o g t r a m 15
q 0 5704,SN/7 C C P / D i s kS o r t P r o q r a m 15D
16 0 5703-SM1 Disk Sort Progratr 6
to 0 5702-SM1 Disk Sort Program 8, 1O
5 0 5705-SM1 D i s kS o r t P r o g r a m 12
1 0 5704-SM1 Disk Sort Program 15
4 o 5704-SM9 D i s kS o r tP r o q r a m 15D

C h a n g e sa r e p e r i o c l 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 ; t h e s e c h a n g e sw i l l b e r c p o r t e d
in technical newslettersor in new editions of this publication.


U s e t h i s p u b l i c a t i o n o n l y f o r t h e p u r p o s e s s t a t e d i n t h . eP r e f a c e .


P u b l i c a t i o n s a 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 . Requests for copies of IBM
publications and for technical information about the system should be nlade to
y o u r I B M r e p r e s e n t a t i v eo r t o t h e b r a n c h o f f i c e s e f v i n g y o u r l o c a l i t V .


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 so r t y p o g r a p h i c a l e r r o r s .
Address comments concerning the contents of this publication to IBM Corporation
Publications, Department 245, Rochester, Minnesota 55901 . IBM may use and
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 sa p p r o p r i a t e
without incurring any obligation whatever. You may, of course, continue to use
the information Vou sul)ply


O l n t e r n a t i o n a l B u s i n e s s a c h i n e sC o r p o r a t i o n 1 9 1 0 , 1 9 7 1 , 1 9 7 2 , 1 9 7 3 , 1 9 1 5 , 1 9 7 6 , 1 9 1 8
M
TechnicalNewsletter This NewsletterNo. sN21-5651
Date 29 September
1978

BasePublicationNo. SC21-7522

File No. 53'33


Previous
Newsletters None




IBM System/3
DiskSort
ReferenceManual

@lBMCorp.
1970,
1971,1972,
1973,
1975,
1976,
1978

T h i st e c h n i c an e v r n l e t t e r p l i e so t h e c u r r e n t e r s i o na n d m o d i f i c a t i o no f t h e a p p l i c a b l I B M
l ap t v s s e
System/3 programs listedin the editionnotice,and provides replacement pages the subject
for
publication.Thesereplacement pages remainin effect for subsequent versions and modifications
unless specifically altered. Pages be inserted
to and/or removed are:

Cover,Edition Notice
1 3 ,1 4
21,22
25,26
91through 10 1
1 4 1 ,1 4 2
1 4 9t h r o u g h 5 2
1




Changes text and illustrations indicated a verticalline at the left of the change.
to are by


Summaryof Amendmen8

o A d d i t i o no f R e l e a s e / T aCk a i n i n g a p a b i l i t i e s .
sh c

o M i s c e l l a n e otu s h n i c aa n d e d i t o r i ac h a n g e s ,
ec l l


y'tlote.'
Please this coverletter at the backof the manualto providea recordof changes.
file




f BM Corporation,Publications,
Department245, Rochester.
Minnesota55901

O I B MC o r p1 9 7 8
. P r i n t e di n U . S . A .
Technical Newsletter This Newsletter No. sN215704
-
Date 2 8M a r c h 9 8 0
1

Base Publication No. sc21 -7522-8
File No. 5J-J5


Previous Newsletters s N 2 1- 5 6 5 1




IBM System/3
Disk Sort
ReferenceManual


, I B M C o r p .1 9 7 0 , 9 / 1 , 1 9 1 2 ,1 9 7 3 ,1 9 7 5 ,1 9 1 6 , 1 9 1 9
1


T h i s t e c h n i c a l n e w s l ) t t e ! ' a p p l i e t o t h e c u r r e n t v e r s i o n s a n d m o d i f i c a t i o n so f t h e a p p l i c a b l e I B M
s
S y s t e m / 3 p r o q r a m s l i s t e d i n t h e e d i t i o n n o t i c e , a n d p r o v i d e s r e p l a c e m e n tp a g e s f o r t h e s u b l e c t
-fhese
publicatron. r e p l a c e m e n tp a g e s r e m a r n i n e f f e c t f o r s u b s e q u e n t v e r s i o n s a n d m o d i f i c a t t o n s
u n l e s s s p e c i f i c a i l va l t e r e d . P a g e s 1 0 b e i n s e r t e d a n d / o r r e m o v e d a r e :

cover, edition notice
7 through 10
13.14
1 4 . 1, 1 4 . 2 ( a d d e d t o a c c o m r n o d a t e
new and moved text)
23, 24
2 4 . 1, 2 4 . 2 ( a d d e d t o a c c o m m o d a t e
new and nrovi:d text)
45, 46
69, 70
107. 108
123, 124
141, 148
157 158
1 6 1 t h r o u g h1 6 4



C h a n g e s t c 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 l i n e a t t h e l e f t o f t h e c h a n q e .



Summary of Amendments

[ \ 4s c rlla n r : o , ue c l r r r a lc h a n g e s
i ts c

N o t e : P i e a s e i l e t h r s c o v e r l e t t e ra t t h e b a c k o f t h e m a n u a l t o p r o v i d e a r e c o r d o f c h a n q e s .
f




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 sD e p a r t m e n t2 4 5 , R o c h e s t e r l. \ 4 i n n e s o t b 5 9 0 1
, a


P r r n t e dn U . S . A
i
Preface




T h i s m a n u a l h e l p st h e S y s t e m / 3 p r o g r a m m e rf i l l o u t t h e S y s t e m / 3 M o d e l 4 u s e r ss h o u l d n o t e t h a t :
s e q u e n c e p e c i f i c a t i o n s e e d e di n o r d e r t o r u n :
s n
o S y s t e m / 3 M o d e l 4 i s s u p p o r t e db y S y s t e m / 3 M o d e l 6
o T h e S y s t e m / 3 D i s k S o r t p r o g r a mo n S y s t e m / 3 M o d e l s S y s t e mC o n t r o l P r o Q r a m m i n g n d P r o g r a mP r o d u c t s .
a
4 , 6 , 8 , 1 0 , 1 2 ,a n d 1 5 T h e f a c i l i t i e sd e s c r i b e di n t h i s p u b l i c a t i o nf o r t h e
M o d e l 6 a r e a l s oa p p li c a b l et o t h e M o d e l 4 , a l t h o u g h
o The Svstem/3 CCPiDisk Sort program on System/3 the Model 4 is not referenced.
M o d e l s4 , 8 , 1 0 , 1 2 , a n d 1 5
o N o t a l l d e v i c e s n d f e a t u r e sa v a i l a b l e n t h e M o d e l 6
a o
T w o c o d i n g s h e e t s r e d i s c u s s e dn t h i s m a n u a l :
a i a r e a v a i l a b l e n t h e M o d e i 4 . T h e r e f o r e ,M o d e l 4 u s e r s
o
s h o u l d b e f a m i l i a r w i t h t h e c o n t e n t so f t h e I B M
. Sequence Specifications, GX21 9089 Svstem/3 Model 4 lntroduction, GC21-5146.

c Translation Table and Alternate Collating Sequence . A l l r e f e r e n c e so t h e 5 4 4 4 d i s k so n s v s t e m s i t h o u t
t w
Coding Sheel GX2i -9096 3 3 4 0 D i r e c t A c c e s s t o r a g eF a c i l i t y a l s oa p p l y t o t h e
S
5 4 4 7 d i s k s u n l e s so t h e r w i s er r o t e d .
fhe How to Use This Manual section in Chapter 1 explains
the organization f this book.
o S v s t e m i 3 M o d e l 8 u s e r ss h n u l d n o t e t h a t :


F o r e a s eo f i l l u s t r a t i o n ,m a n y o f t h e e x a m p l e si n t h i s b o o k T h e S y s t e m / 3 M o d e l 8 i s s u p p o r t e db y S y s t e m / 3
'l
u s e c a r d - l i k ef i g u r e st o r e p r e s e n t e c o r d s . T h i s d o e s n o t
r M o d e l 0 D i s k S y s t e mS y s t e mC o n t r o l P r o g r a m m i n g n d a
imply t h a t a c a r d d e v i c em u s t b e u s e df o r i n p u t o r o u t p u t P r o g r a mP r o d u c t s . T h e f a c i l i t i e sd e s c r i b e d n t h i s p u b l i -
i
i n t h e s es i t u a t i o n s . A n y o f s e v e r a il n p u t / o u t p u t d e v i c e s c a t i o n f o r t h e M o d e l 1 0 a r e a l s oa p p l i c a b l e o t h e
t
m i g h t b e u s e d ,d e p e n d i n go n w h i c h S y s t e m / 3 m o d e l a n d M o d e l 8 , a l t h o u g ht h e M o d e l 8 i s n o t r e f e r e n c e d .
c o n f i g u r a t i o ny o u a r e u s i n g .
N o t a l l d e v i c e s n d f e a t r r r ea v a i l a b l o n t h e M o d e l 1 0
a s e
a r e a v a i l a b l e n t h e M o d e l B . T h e r e f o r e ,M o d e l 8 u s e r s
o
f BM System/3 5448 Disk Storage Drive s h o u l d b e f a m i l i a r w i t h t h e c o n t e n t so I t h e I B M
System/3 Model 8 lntroduction, GC21 51 14"
T h e I B M S v s t e m / 3 5 4 4 8 D i s k S t o r a g eD r i v e o n S y s t e m / 3
M o d e l s8 a n d 1 0 u s e st h e s a m ep r o g r a m p r o d u c t s u p p o r t S y s t e m / 3 M o d e l 1 0 D i s k S y s t e mu s e r ss h o u l d n o t e t h a t :
a s t h e I B M 5 4 4 5 D i s k S t o r a g e . H o w e v e r ,a s e p a r a t e y s t e m
s
o '1
c o n t r o l p r o g r a mf e a t u r e i s r e q u i r e df o r t h e 5 4 4 8 . I n I n t h i s p u b l i c a t i o nt h e S y s t e m / 3 M o d e l 0 D i s k S y s t e m
g e n e r a l ,r e f e r e n c e so 5 4 4 5 i n t h i s m a n u a l a l s o a p p l y t o
t i s t e r m e d t h e M o d e l 1 0 . W i t h o u t e x c e p t i o n ,a l l r e f e r e n c e s
5 4 4 8 . F o r s p e c i if c i n f o r m a t i o n a b o u t 5 4 4 8 o p e r a t i n g t o M o d e l 1 0 a p p l yt o t h e M o d e l 1 0 D i s kS y s t e m .
c h a r a c t e r i s t i ca n d p r o g r a m m i n gs u p p o r t, s e eI B M
s
System/3 5448 Disk Storage Drive Program Reference
M a n u a l .G C 2 1 - 5 1 6 8 . System/3 CCP/Disk Sort Program for Models 8, 10,
12.and 15

A p p e n d i x I p o i n t s o u t t h e d i f f e r e n c e s e t w e e nt h e C C P /
b
D i s k S o r t P r o g r a m so r M o d e l s8 , 1 0 , 1 2 , a n d 1 5 a n d t h e
f
c o r r e s p o n d i n g i s k S o r t P r o g r a mf o r t h e s es y s t e m s .
D
S y s t e m / 3 o d e l s 2 a n d1 5 u s e r s h o u l d o t et h a t :
M 1 s n

T h e I B M 3 3 4 0 D i r e c t A c c e s sS t o r a g eF a c i l i t y a t t a c h e s
t o t h e S y s t e m / 3M o d e l 1 2 a n d t o t h e S y s t e m / 3
M o d e l s 5 8 , 1 5 C ,a n d 1 5 D .
1


The IBM 3344 Direct AccessStorageattachesto the
S y s t e m / 3M o d e l 1 5 D .


C e r t a i na r e a s n t h e 3 3 4 0 a n d 3 3 4 4 d i s k s a r e t r e a t e da s
o
5444 disks. These areasare known as 5444 simulation
areas and are used for the program librariesand can be
u s e df o r d a t a f i l e s . T h e r e m a i n d e ro f t h e d i s k s p a c ei s
known as the main data area and can onlv be used for
datafiles.

R e f e r e n c e sn t h i s m a n u a lt o t h e 5 4 4 4 , 5 4 4 5 , a n d 3 3 4 0
i
are to be interpreted according to which disk storage
d e v i c e ( s ) s ( a r e )a t t a c h e dt o y o u r s y s t e m . T h e f o l l o w i n g
i
t a b l e i s u s e dt o d e t e r m i n et h e m e a n i n go f t h e r e f e r e n c e :



Models Model Models 2, 1 Model
8 and 10 15A 1 5 B ,1 5 C 15D


Reference Meaning Meaning Meaning Meaning


5444 5 4 4 4D i s k 5 4 4 4D i s k 5444 simulation 5 4 4 4 s i m u l a t i o na r e a
Storage Drive Storage rive
D a r e ao n 3 3 4 0 on 3340 or 3344


5445 5 4 4 8D i s k 5 4 4 5D i s k M a i nd a t aa r e a M a i n d a t a a r e ao n
Storage Storage on 3340 3340 or 3344
D r i v eo r
( M o d e1 0 )
l
5 4 4 5D i s k
Storage



3340 Not Not Main data area M a i n d a t a a r e ao n
applicable applicable on 3340 3340 or 3344



. A i l r e f e r e n c e so t h e S y s t e m / 3 M o d e l 1 5 i n t h i s m a n u a l
t
a p p l y t o a l l m o d e l so f M o d e l 1 5 a s s p e c i f i e db e l o w
:
u n l e s so t h e r w i s ei n d i c a t e d
- F o r D i s k S o r t , p r o g r a m n u m b e r 5 7 0 4 - S M 1f o r
M o d e l s1 5 A , 1 5 8 , a n d 1 5 C ;a n d p r o g r a mn u m b e r
5 7 0 4 - S M 9f o r M o d e l 1 5 D .
- F o r C C P / D i s kS o r t , p r o g r a m n u m b e r 5 7 0 4 S M 7
for Model15D.

F o r f u r t h e r i n f o r m a t i o n ,s e et h e a p p r o p r i a t ep u b l i c a t i o n
listed under Related Publications; for more information
a b o u t t h e m a n u a l so r t h e c o d i n g s h e e t s c o n t a c t y o u r
,
n e a r e s tI B M b r a n c h o f f i c e .



iv
RELATED UBLICATIONS
P


Order Number
Type of IBM System/3
Publication Model 4 Model 8 'l
Model 6 Model 10 Model 2 Model 15

lntroduction G C 2 1 - 5 1 4 6 GA21-9122 GC21-51
14 GC21-7510 GC21 116
5 GC21-5094
GC21-5077
S y s t e mC o n t r o l P r o g r a m (5704-SC1)
GC21-1512 G C 2 1 - 5 1 3 0 GC21-5"t62
Reference
( 5 7 0 4S C 2 )

OCL and DiskUtilities GC21-7516

C o m o o n e n t sR e f e r e n c e GA34-0001 G421-9236

D i s k C o n c e p t sa n d
G C 2 17 5 7 1
Planning uideG


O p e r a t o r ' sG u i d e GC21-5149 GC21 7501 G C 2 17 5 0 8 GC21-5144 G C 2 1 - 5 0 7 5

M e s s a g e s / H aG u i d e
lt GC21-7541 GC21-7540 G C 2 15 1 4 5 GC21-5076

C o m m un i c a t i o n sC o nt r o l
P r o g r a mT e r m i n a l GC21-7580 GC21-7580
O p e r a t o r ' sG u i d e

C C PP r o g r a m m e r ' s
G C 2 1 - 55 0
1 G C 2 17 5 7 9
R e f e r e n cM a n u a l
e

Program Logic Manuals:


Disk Sort and
LY21-0517
C C P / D i s kS o r t P L M

System Control
sY2i 0502 sY21-0046 sY210033
P r o g r a mP L M


S c h e d u l e rL M
P sY210035

Data Management LM
P sY2105',t
2 sY210034
Contents




C H A P T E R1 . I N T R O D U C T I O N . . . 1 CHAPTER4. RECORDTYPESPECIFICATIONS . . . . . . . 26 .
H o w t o U s e T h i s M a n u a l. . 1 ColumnSummary. ...26
l m p o r t a n t I n f o r m a t i o nf o r U s e r so f S y s t e m / 3 ColumnDescriptions ........27
C C P / D i s kS o r t . 1 C o l u m n s 1 - 2 l P a g eN u m b e r ) a n d 3 - 5 ( L i n e N u m b e r ). . . . . . 2 7
S y s t e mC o n f i g u r a t i o n . 2 Column6(LineTvpe) .....27
fncludeSets .......28
C H A P T E R2 . O V E R V I E W O F D I S K S O R T . .3 Om;t Sets
T h e T h r e e T y p e s o f S o r t : A d d r o u t , T a g A l o r r g ,a n d C o l u m n T ( C o n t i n u a t i o n o r C o m m e n t s ). . . . . . . . . . . . 3 0
.
S u m m a r yT a g A l o n g . 5 ColumnS(ClZlDlPlUl .....30
R u n n i n g t h e D i s k S o r t o r C C P / D i s kS o r t P r o g r a m .6 C o l u m n s 9 - 1 6 ( F a c t oLr o c a t i o n )
l ....34
S e q u e n c e p e c fi i c a t i o n s h e e t .
S S . 1 a
C o l u m n s l T - 1 8 ( R e l . . t. i .o n ) . ....34
O r d e ro f S e q u e n c e p e c i f i c a t i o n s .
S .8 C o l u m n 1 9 ( F i e l do r C o n s t a n t )
How to SupplySequence pecifications S R C o l u m n s2 0 - 2 7 ( F a c t o r 2 F i e l d ) .
q
OCL Statements. C o l u m n s2 0 - 3 9 ( F a c t o r 2 C o n s t a n t )
FileConsiderattons 10 C o l u m n s 4 0 - 7 2 ( C o m m .e n t s ) .....36
7 - T r a c kT a p e C o n s i d e r a o n s
it 15
9 - T r a c kT a p e C o n s i d e r a l n s
io to C H A P T E R 5 . F I E L D D E S C R I P T I O NS P E C T F I C A T I O N S. . . . 3 7
R e s t r i c t i o n s n t h e U s eo t M u l t i l i l e T a p e s( M o d e l 1 5 ) . . . . . 1 6
o ColumnSummary.
How to SupplyOCL Statementsor the Model6 f lo Column Description
H o w t o S u p p l y O C L S t a t e m e n t s o r t h e M o r l e l1 0
f tb C o l u m n s 1 - 2 \ P a g eN u m b e r ) a n d 3 - 5 ( L i n e N u m b e r ). . . . . . 3 8
H o w t o S u p p l y O C L S t a t e n r e n t so r t h e M o c l e l1 2
l 1l Column6(LineType) .....38
How to Supply OCL Statementsor the Model 15 f 11 ColumnT(FieldTypeorComments) .......38
Timing Consideration: 11 C o l u m n S l C l Z l D l P l U. l. V ) . . .....40
Programming onsideraons C it 18 C o l u m n s T - 8 . . . . . . . . . . . 4 3
S p e c i f i c a t i o n fso r T a g A l o n g S o r t ( S O R T R ) 19 C o l u m n s9 - 1 6 { F i e l d L o c a t i o n ) . . 4 4
S p e c i f i c a t i o n fso r A r J d r o u tS o r t ( S O R T A ) 20 C o l u m n 1 7 ( C o n d i t i o n a l l yF o r c e dC h a r a c t e r ) . . 4 5
S p e c i f i c a t i o n fso r S u m m a r y S o r t ( S O R T R S ) 21 Column18(ForcedCharacter) ......45
C o l u m n 1 9 ( S p e o f y i n gR e p l a c e m e n tfs r M o r e T h a n O n e
o
C H A P T E R 3 .H E A D E R S P E C I F I C A T I O N . . S ...22 Ch a racte r)
ColumnSummary. ..... "22 E x a m p l e s t U s r n gF o r c e dC o n t r o l F i e l d s .
o 47
ColumnDescriptions .......23 C o l u m n s2 O 2 2 l O v e r f l o w F i e t d L e n g t h E n t r y ) . . . 52
C o l u m n s1 - 2 \ p a g e N u r n b e r )n r l3 5 ( L i n e N u m b e r ). . . . . . 2 3
a C o l u m n s 2 3 - 3 9 . . . . . . . . . . . . 5 2
Column6{LineType) .....23 C o l u m n s 4 o - 7 2 ( C o m m e. n t s ) .....52
C o l u m n s l - 1 2 \ J. o b l. ......23
C o l u m n s1 3 ' 1 7 l L a r q e s S u m ( i n B y t e s )o f C o n t r o l F i e l d
t C H A P T E R6 . S A M P L E D I S K S O R T J O B S . . .. . . .53
LengthsforAnyRecordTypel ........23 R e c o r d F o r m a t sf o r t h e I n v e n t o r y F i l e . .. . . .54
C o l u m n 1 8 ( A s c e n d i n g o D e s c e n r l r n g S e r l u e n c. e.) . . . . . 2 3
r . R e c o r d F o r m a t sf o r t h e T r a n s a c t i o n F i l e . . . . .. . . . 54
Column 26 (Collating equencer) S . . .23 J
S a m p l e o b 1 : I n c l u d e n F i e l dR e l a t i o n s h i p .
o .. . . . 55
C o l u m n2 7 \ P r i n tO p r i o n ). . . .24 HeaderSpecifications. ....56
C o l u m n 2 8 ( O u t p u t O p r t i o nf o r T a g A l o n g S o r t s ). . . . . . .24 RecordTypeSpecifications .....'...56
C o l u m n s2 9 - 3 2 ( O u t p u t R c c o r r :t1 e n g t l r o r T a qA l o n g S o r t s ). 2 4
- f Fieldspecifications. ....57
C o l u m n 3 4 ( N o n v e r i f y O p t. i o n ) .. ...24 S a m p l e J o b rA d d r o u t S o r t
2: .......58
C o l u m n s3 7 - 3 8 ( S t o r a g e i z e ) C C P / D i s kS o r t M o d e l 1 5
S HeaderSpecifications. ....58
5 7 0 4 - S M 7a n d 5 7 9 9 - A T H . 25 RecordTypeSpecificatrons ........59
C o l u m n 3 9 ( R e c o r d L e n g t h l n d i c a t ' t ) - C C P / D i s kS o r t O n l y 2 5
, F i e l d S p e c i fi c a t l o n s .
C o l u m n s4 0 - 4 3 { R e c o r d L e n g t h ) C C P l D i s kS o r t O n l y . . 25 S a m p l eJ o b 3 : A n d L o g i c - O p p o s i t eC o n t r o l F i e l d s . . . . . . . 60
C o l u m n s4 O - 7 2\ J o b D e s c r i p t i o n ) r C o l u r n n s 4 - 7 2 \ J o t ,
o 4 Header Specifications 61
Description-CCP/DrskSortOnly) ...25 R e c o r d T y p e S p e c if i c a t i o n s 61
C o l u m n s T 5 - 8 0 ( P r o q r aln re n t i f i c a t i o n / P r o g r a m N a m e ) . . 2 5
d Field Specifications
" '62
S a m p l eJ o b 4 : M u l t i p l e I n c l u d eS e t sw i t h F o r c e . . . . 63
HeaderSpecificarions. ....65
Record Type Specifications . . . . . . . . . 6 5
Field Specifications
S a m p l eJ o b 5 : S u m m a r y S o r t - E l i m i n a t i n g D u p l i c a t e s. . . . . . 6 ?
HeaderSpeci{ications. ....68
Record Type Specifications
FieldSpecifications. ....68




vi
S a ' n p l eJ o b 6 S u m m a r v S o r t - l n s e r t i o n o f C h a r a c t e r APPENDIX D. TIMING CONSIDERATIONS . . 110
Data FDV 69 M a i n S t o r . , , l u ,i z e
S 110
H e a d e rS p e c fi i c a t i o n s . 10 N u m b e r o f R e r - o r r i st o l ; e S o r t e d 110
-i'ype
Recorri Speci ications
f 70 Record S ize 110
FieldSpecrtications. 70 N u m b e r o f S e t l u e ; r i : rS p t : c i f r c a l i o n s 111
S a n r p l e r : b 7 : N e g a t i v e a l u e sP o s s i b l e
J V Ai ternatr.. ol laring Sequence
C 111
H e a d e rS p e cfi i c a t i o n s . Drsk t-ocat.,; r o{ 1h..F rlps
, . 111
R e c o r dT y p e S p e c f i c a t i o n s
i 72 O r d e r c f t h e C o n i r o l F i el d s i n t f r e I n p u t F i l e . 113
Field Specifications 73 Use of the Automatic Work Filr: Allocation Function . 113
SampleJob 8: Multiple Input Files 14 Nonverrfy Optrorr . 113
H e a d e r S p e c if i c a t i o n s . 76 Sample Disl Sorl I rmrngs . 113
Record Type Specifications 16 Moclel 6 and Morjel 1O Tirnings Orrly. . 113
F ield Specitications. 77 Modcl l5 f rm,t,qr . 113
Sample Job 9: Record Selection on Binary Values. 18 Sample Morlel [i a,rd Moricl 10 Tirnirrgs . 1 1 4
Type 1 Include Sequence 1B S a m p l e l r / o < j e l1 i r T r n r i n q s . 115
Type 2 Include Sequence l8 Samole Morlel 1? Timitr!ls . 115
Sample Sort Job 9 Description 19
Header Specifications. 82 APPENDIX E. CALCULATING SIZE OF FILES . 116
R e c o r d T V p e S p e c i fi c a t i o n s a2 Input Filr' . I t o
Field Specifrcations. 82 Ourput f rIc . l t o
Worr I ri,r . 116
CHAPTER 7. INTEGER {BINARY} AND REAL NUMBER W ' ; r I F - l - S r z . lf r r t , . ' . 118
soRTrNG ........83 Erarrrple . 119
SarnpleJob 1: Sorting on a Control Field that Contains Either 5444 D isr. F rre,, . 119
a P o s i t i v e n t e g e ro r a P o s i t i v e e a l N u m b e r
I R 83 5445 [)rsI i rres . 120
H e a c l eS p e c i if c a t i o n
r 84 3 3 4 0 D i s k F i l e s( M o r l e r1 2 a ' r r 1 1 o t j e1 5 1.
N l . 120
R e c o r dT y p e S p e c f i c a t i o n s
i 84
Fi e l d S p e cf i c a t i o n s .
r a4 A P P E N D I XF . M E S S A G E S . 121
S a m p l eJ o b 2 : S o r t i n go n a C o n t r o l F i e l d t h a t C o n t a i n sO n l y
a Positiveor Negative Integer . . . 85 A P P E N D I XG . I N S T R U C T I O N S O T -E X E C U T I N GT H E D I S K
F I
HeaderSpecification . .86 SORT SAMPLE PROGRAM . . 146
RecordTypeSpecifications ..... ..87 S a r n p l e r o u r a mf o r M o d e l 6
P . . 146
FieldSpeciiications. ...87 Sample Prollranr for Morlel 8, Moriel 1t), Model 12, and
Sample Job 3: Sorting on a Control Field that Contains Only Morlr,l 15 141
a Positiveor Negative Real Number . . . . . 88
HeaderSpecification ....89 APPENDIX H. CCP/I}ISK SORT SPECIFICATIONS

RecordfvpeSpecifications .......90 D | F F E R E N C E S . . . . . . . 1 4 8
FieldSpecifications. ....90 CCP/LriskSortOvervrllv ....... 148
FtieStatenr.rfrtConsr(ierijtrons. ...148

APPENDIX A. CONVERSATIONAL OCL MultiplelrrputIrlestModell5oniyi ....... 149

C n r l i n gC C L C y t ' l e s . O u t p u t F i i t ; O v e r I n t r u t F i l e C o n s i d e r a t i o r r f o r M o c l e l4 . . . . 1 4 9
s
TlreModify Statement Work Record Lcngti) , - 149

f h r . L o a r iC y c l e . C C P / D i s k S o r t O b l e c t P r r r r : t r a r 'r- j e i , c r a t i o n J o b S t r e a r r t

Ihe BuildCvcle. t xa'nplr: . 150
The Call Cycle. C C P A s s i g n m e n t S e l S t a t r - , n r e n 1E x a r n p l { )
s . t1z
C C P i D i s k S o r r E x e c u l i o n { B a t c t r l V l o t l e )- l o b S t r e a r r )

APPENDIX B. SUPPLYING SEOUENCE SPECIFICATIONS . 1OO Fxamrlle . tcJ

I n l e r r e l a t i o n s h i r )o f C o n v e r s a t i o n a l O C L a n d S e q u e n c e
Specifications Model 6)
{ 101 A P P E N D I XI . C C P / D I S K O R T P R O G R A M F O R S Y S T E M / 3
S
Suplrlying OCjL Statements and Sequence Specifications for the MODELSA,10,12,15A.15ts,AND15C ....... 154
M o c l e l 1 0 . t h e f \ 4 o d e l1 2 . a n d t h e M o d e l 1 5 . , . . . 1O2 C C P i D i s kS o r t P r o g r a m( P r r > g r a r nu r n L r e5 7 9 9 ' 4 T F ) . . . . . . . 1 5 4
N r
Which OCL and Sequence Specification Method to Use for the C C P l O r s k S o r tP r o , g r a r(n r o t l r a r r r r r n l : c r 5 7 9 9 ' 4 T G ) . . . . . . 1 5 4
P \L
M o d e {1 0 . r h r : M o d e l2 . a n d t h e M o d e l 5
1 1 ........ 105 C C P / D i s kS o r t P r o q r a r r( [ ' r r r t ] r a , lr\rJ i r r r r b e r 9 9 - A l H ]
57 . . . . . 154


106 I \ P P E N D I X . IG L O S S A N Y
. .... 155
A P P E N D I XC . C O L L A T I N G S E O U E N C E . .
S t a n d a r dC o l l a t i n gS e q u e n c e 101
101 TNDEX. ... 157
A l t e r n a t eC o l l a t i n gS e q u e n c e
C o d i n gR u l e s 141
In p u t O r d e r w h e n A L T S E Q S t a t e m e n t s r e U s e d .
a 108
P r o g a m m i ng C o n s i d e r a t i o n s
r 108
Eflecrof ALTSEO Statements n Other Coding o 108
S a m p l eA L T S E O S t a t e m e n t s 108
P r o g r a r r r t n r n gd s
Ai 108
Chapter1. Introduction




T h i s p u b l i c a t i o ni s c l e s i g n e t o h e l p y o u , t h e p r o g r a n l m e r ,
d A column summaryand column descriptions re provided
a
use System/3 Disk Siort and System/3 CCP/Disk Sort. The for each type of specification:
C C P / D i s kS o r t P r o g r a mi s u s e dw i t h t h e C o m m u r r i c a t i o n s
Control Program on the Systemi3 lVlodel4 with Program . Header
N u m b e r 5 7 0 3 - S M 2a n d M o d e l 1 5 w i t h P r o q r a mN u m b e r
5704.SM7. . R e c o r dt y p e

o Fielddescription
HOW TO USE THIS MANUAL

Your need for referencematerial varieswith programnring lmportant Information for Usersof System/3
e x p e r i e n c e n d f a n r i l i a r i t yw i t h a p a r t i c u l a rs y s t e m . T h i s
a C C P / D i s kS o r t
m a n u a l c o n t a i n sf o u r d i f f e r e n t l e v e l so f i n f o r m a t i o n :
S y s t e m / 3 C C P / D i s kS o r t u s e r ss h o u l d r e v i e w A p p e n d i x H
1. Overview of SequenceSpecifications shows which prior to coding your program for the following reasons:
c o l u m n s o n t h e s e q u e n c e p e c i f c a t i o r r s h e e ty o u
s i s
m u s t c o n s i d e rw h e n v o u w a n t t o s o r t a d i s k o r t a p e . l f y o u a r e k n o w l e d g e a b l e i t h S y s t e m / 3D i s k S o r t
w
file. p r o g r a m m i n ga n d S y s t e m / 3 C C P , A p p e n d i x H i l l u s -
t r a t e s t h e C C P / D i s kS o r t d i f f e r e n c e s o u r c o d i n g m u s t
y
2. Column Summaries list the possibleentries for each ref lect.
column on the sequence pecitication heet.
s s
. A p p e n d i x H p r o v i d e sa C C P / D i s kS o r t o v e r v i e w . F o r
3. Column Desc:riptions explain the possibleerrtries more details, refer to the chapter discussions.
f o r e a c hc o l u m n i n o r e a t e rd e t a i l .
o lf you are a first time user of System/3, System/3 Disk
4. Sample Jobs show how to fill out the sequence Sort, or System/3 CCP/Disk Sort, Appendix H provicles
specification heets or typical jobs.r
s f a n o r i e n t a t i o n t o S y s t e m / 3 C C P / D i s kS o r t f o r y o u r r '
S y s t e m / 3 M o d e l 4 ( 5 7 0 3 - S M 2 )o r M o d e l 1 5 w i t h
H e r e i s h o w t o u s e e a c hl e v e l : P r o g r a mN u m b e r 5 7 0 4 - S M 7 .

o U s e t h e O v e r v i e wt o s e ew h i c h c o l u m n s o n t h e s e q u e n c e A d d i t i o n a l i n f o r m a t i o n o n S y s t e m / 3 C C P / D i s kS o r t
s p e c i f i c a t i o n s f r e e ty o u m u s t c o n s i d e rw h e n y o u w a n t 'l