Text preview for : SC28-6874-3_IBM_System3_FortranIV_ReferenceManual_sep76.pdf part of IBM SC28-6874-3 IBM System3 FortranIV ReferenceManual sep76 IBM system3 SC28-6874-3_IBM_System3_FortranIV_ReferenceManual_sep76.pdf
Back to : SC28-6874-3_IBM_System3_F | Home
oooa aaaa
aata taaa
aaaaaaal rl aaaaaaaa
aaaaaaaaaa aaaaaaaa
aaaaaaaaaaoaaaaaaa
aaaoot aaaaaaaaaaea
aaaa aaaa
aaaa aaaa
aar I aaaa
ala I aaaa
ar"taOO.raatlaaaaa
aaa taaaaaaaaaaaaaa
aa?aaaaaaaaaaaaaaa
aoc !aaaaaoaataaaaa
aaaa aaaa oaaa
aaat aaaa aaaa
aaaf aaaa aaaa
aaaa'aaaaaaaaaaaaa
Caaa ,aaaaaaaaaaaaa
aaa.raaa-.aaaaaaa
aaaca. t^aaaa
aaat raa
IBMSystem/3
FORTRAN IV
aa
aa
aa Reterence
Manual
ProgramNumbers:
5702-FOl (Model10 Disk System)
5703-FO1(Model6)
5704-FO1(Model15)
5704-FO2(Model 15)
aaaa
aaaaa
aaaaa
aaaaaaa
s705-FO1(Model12)
aaaaoa aoaaaaaaa
aaaaaao aaaaaaaaaaa
aaaaaaa aaaaaoaaaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaa oaaa aaaa
aaaaaaaaaaaa aaaaaa
aaaaaaaaaaaa aaaaaa
aaaaaaaaaa aaaaa
aoaaaaaa aaaa
aaaaaa
aaaa aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaoaaaaaaaaaaaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaaaa aaaa aaoaaa
aaaaaa aaaaaa
aaaaaa aaaaaa
aaaaaa aaaaaa
sc28-6874-3
FileNo.53-25
a.aa ,aaaaa
aaraa
avataa
aoaaaaa
aaaaaa
laaaaa
aaaaaa
ProgramProduct
aaaaaaa Jtaa aaaa
aaaa aaaaa aaaa
aoaa aaaaar taaa
aaaa aaaatraaraaa
oaaaaaata.at r taaaaa
aaaaaaaaafa aaaaaa
aaaoateaaa a.oaa
aaSaaaoa aoaa
ar aaaa
Pageof SC28-68'/4-3
l s s u e d2 9 S e o t e n r b e r1 9 7 8
By TNL: SN21-5634
Fourth Edition (September
1976)
T h i s i s a m a . i o rr e v i s i o no f , a n d o b s o l e t e s ,s c 2 8 - 6 8 7 4 - 2 a n d r e c h n i c a l N e w s l e t t e r s
s N 2 1 - 5 3 : 2 9a n d S N 2 1 - 5 2 5 9 . c h a n g e 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
cnange.
T h i s e d i t i o n a p p l i e st o t h e s y s t e m / 3 p r o g r a m v e r s i o n sl i s t e d b e l o w a n d t o a l l s u b s e q u e n r
v e r s i o n sa n d m o d i f i c a t i o n l e v e l 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 r
newsletters:
System/3 Version Modification ProgramNumber
Model 6 I J 00 5703-FO1
Model 10 'l
3 00 5702-FO1
Model 12 00 5705-FO1
Model 15 5 00 5704-FO1
Model 15 1 00 570+F02
c h a n g e s r e c o n t i n u a l l ym a d e t o t h e s p e c i f i c a t i o nh e r e i n ;b e f o r e u s i n gt h i s p u b l i c a t i o n
a s
r n c o n n e c t i o n w i t h t h e o p e r a t i o n o f I B M S y s t e m s ,c o n s u l t t h e l a t e s t t B M S v s t e m / 3
B i b l i o g r a p h y , G C 2 0 - 8 0 8 0 , f o r t h e e d i t i o n s t h a t a r e a p p l i c a b l ea n d c u r r e n t .
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 ss t a t e d i n t h e p r e f a c e .
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 I B M 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 . U s e t h e
o
R e a d e r ' sC o m m e n t F o r m a t t h e b a c k o f t h i s p u b l i c a t i o n t o m a k e c o m m e n t s a b o u t
t h i s p u b l i r : a t i o n . l f t h e f o r m h a s b e e n r e m o v e d ,a d d r e s sy o u r c o m m e n t s 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 g 0 1 . I B M m a v
u s ea 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 e
a
w 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 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 ny o u s u p p l y .
O C o p y r i g h t f 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 7 2 , 1 g 7 4 , 1 9 7 6
M
Preface
This publicationdescribes System/3FORTRAN lV
the The IBM System/3Model8 is supported Systern/3 by
language the useof the System/3FORTRAN lV proces-
and Model 10 Disk Systemcontrol programming System/3 and
sor to run programs
written in the language. M o d e l1 0 F O R T R A N l V . T h e f a c i l i t i e s e s c r i b e id t h i s
d n
publication the Model 10 are alsoapplicable the
for to
This publicationis intendedto be uried a reference as Model8, eventhoughthe Model8 is not referenced. Some
manualby persons writing programt; the System/3FOR-
in of the devices discussed inthis publicationmight not be
TRAN lV language. You shouldha're someknowledge of applicable the Model8. Model8 users;
for shouldbe
F O R T R A N b e f o r e u s i n g t h i s p u b l i c r t iA u s e f u ls o u r c e
on. I
f a m i l i a r t v i t h t h e c o n t e n t sl o fM S y s t e m / 3 M o d e l
B
of this informationis the set of prorlrammed instruction lntroduction, GC21-5114.
t e x t sd e s c r i b i ntg e S y s t e r n / 3 O R - - R A Nl V l a n g u a g e ,
h F
O r d e rN u m b e r s R 2 9 - 5 0 1 5h r o u q h R 2 9 - 5 0 1 9 .
S t S A l l r e f e r e n c e s t h e S y s t e m / 3 o d e l1 5 i n t h i s p u b l i c a t i o n
to M
a p p l yt o S y s t e m / 3 o d e l s 5 A , 1 5 8 , 1 5 C ,a n d 1 5 D u n l e s s
M 1
S y s t e m / 3 O R T R A N l V c o n t a i n sh o s e e a t u r e s e fi n e d
F t f d otherwise specified.
i n A m e r i c a n a t i o n aS t a r r d a rB a sc F O R T R A NX 3 . 1 0 -
N l d
1 9 6 6 ;l a n g u a ge x t e n s i o ns u p p o r t e d y I B M 1 1 3 0 B a s i c
e s b
F O R T R A Nl V ; a n d a d d i t i o n ac a p a b i l i t i ep r e v i o u s l y
l s
a v a i l a b lo n l y w i t h c e r t a i n B M F u l l F O R T R A N l V c o m -
e I
pilers.
The System/3FORTRAT\I processor a programproduct
lV is
c o n s i s t i no f a c o m p i l e r n d a l i b r a l yo f m a t h e m a t i c au n c -
g a fl
tions,service subprogram:s, conrmercial
and subroutines.
The System/3FORTRAI\IlV programproductoperates
on the IBM System/3Mordel Disk System,IBM System/3
10
Model6, IBM System/3t!,lodel zndon the IBM
12,
System/3Model 15.
Direct AccessSltorage Models12 and 15
for
The IBM 3340 DirectAccess Storage Facilityattachesto
System/3Model 12 and to System/3Models158, 15C,
and 15D. Also,the IBM 3344 DirectAccess Storage
attaches System/3Model 15D. Certainareas the
to on
3340 and 3344 disksaretreatedas 5444 disks. These
areas, known as 5/'44 simulationareas simulation
or areas,
areusecl the programlibraries
for and can alsobe usedfor
dataf iles. The remainder the disk space,
of known as main
dataarea, can only be usedfor datafiles.
References this manualto 5444,5445,and 3340 areto
in
be interpreted arccording which disk storage
to device(s)
is (are)attachecl the system. Usethe followingtableto
to
determine nneaning the reference:
the of
Modef 12,15B,
s
Beference Model 15A Meaning 15C Meaning Model 15D Meaning
5444 5444 Disk StorageDrive 5444 simulationarea Simulationareaon
on 3340 3340 or 3344
*45 5445 Disk Storage Main dataareaon 3340 Main.dataareaon 334'0
or 31344
3340 Not applicable Maindata areaon 3340 Maindataareaon 33410
or i1344
F o r f u r t h e ri n f o r m a t i o ns e et h e a p p r o p r i a t p u b l i c a t i o n s
, e
listed under RelatedPublications.
IBM System/35448 Disk Storage
Drive
The IBM Systern/3 5448 Disk Storage Driveon System/3
Models8 and 10 uses sameprogramproductsupport
the
asthe IBM 5445 DiskStorage.However, separate
a system
control prograrnfeatureis required the 5448. In
for
general,references 5445 in this manualalsoapply to
to
5448. For specificinformationabout 5448 operating
characteristics programming
and support,seethe IBM
System/3 5448' Disk Storage Drive Program Beference
Manual.GC21-5168.
RelatedPublications
P u b l r c a t i o n s n t a i n i n gn f o r m a t i o n b o u tt h e S y s t e m / 3
co i a
F O R T R A Nl V p r o g r a m r o d u c t S y s t e m / 3 o d e l6 ,
p , M
S y s t e m / 3 o d e l8 , S y s t e m / 3 o d e l1 0 D i s kS y s t e m ,
M M
'l
S y s t e m / 3 o d e l 2 , a n d S y s t e m / 3/ l o d e l1 5 a r e .
M l
- O r d e r N u m b e r o f P u b l i c a t i o nf o r
--t
System/3 | svstem/3 | to
rvroo.t I svstem/s i Systenr/3
Manuals M o c l e6
l ModelS D i s kS y s t e m M o d e l1 2 l
M o d l e1 5
| I I I
F C ) R T R AI VN
C o m m e r c i S lu b r o u t i n e s
a sc28-6875
I r r lr o d u c t i o n cAzl
s12; .-'-'. ,6
.;;, 51 GCirl 5094
T ["J';; i
O p r e r a t o r 'G u i d e
s cc:r1
75;1 o.rti'*o cc21 5075
T "-"r.*T;"r*t f
S y s t e mG e n e r a t i o n
Reference anual
M GC215126 G C i r l7 6 1 { j
HaltGuide
( S y s t e mM e s s a g e s ) ccli-7s41 GC1'15076
| "c21754o lo.r,-o,ou
S y s t e n rC o n t r o l 5 7 0 4F O l
P r o g r a m m i n gR e f e r e n c e G C 2 15 0 7 V
GC:]1-7516 G C 2 17 5 1 2 G C 2 15 1 3 0 l
(Operatiorr ontrolC 5704-FO2
L an g u a g e
) GC,21162
5
O v e r l a yL i n k a g eE d i t o r
R e r f e r e n cM a n u a l
e G C 2 17 5 6 1
D i s k C o n c e p t sa n d
PlanninGuide q GC21-7571
User's uide
G G C 2 15 1 4 2
Cc, ponents
m
Reference\4anual
[ GA340001 G A 2 19 2 0 3 r
GA2'9103 G A 2 19 2 3 6 9
GA:21193
3340Reference r ',t
GC:z1-5 1
3741 Reference 5 7 0 4F O z
ManuaI o nl y
G { 1 25 1 1 3
1
A v a i l a b i l i t y a t e f o r G C 2 1 5 1 6 2 r n a n u a il s n o t t h e s a m ea s f o r t h i s m a n u a l . O r d e r s e n t s h o r t l va f t e r t h e i s s u e a 1
d - s d
o f t h i s m a n u a lm i g h t b e c c n s i d e r d i n v a l i d .
e
Paseof 5'C28-6874-3
lssuetJ2f) Septernber 1978
ByTNL: SN21"5634
Contents
HOWTHIS MANUAL IS ORGANIZEO F o r m a t C o d e sf o r N u m e r i c D a t a 3'r
I Forfnat Code {alw) 31
P A R T I , S ' Y S T E M / 3F O R T R A N I V L A N G U A G E F Format Code (aFw.d) 32
D a n d E F o r m a t C o d e s( a D w . d .a E w . d ) JZ
CHAP]'ER 1. FORTRAN STATEMENTS Scale Factor (nPc) 34
C l o d , n qF O i : i T ' f lA N S t a t e m o n t s b F o r m a t C o d e sf o r A l p h a m e r i c D a t a 34
C o l r t r n t r 1- 5 - S t a t e m e n t N u m b e r
: 1 A FormatCode (aAwl 34
C o i u r n , ,1- C o m m e n t S t a t e m e n t H F o r m a t C o d e ( w H s t r i n g ) a n d Literals in
Enclosed
Colurnrr - Ctontinuation
6 Apostrophes
Colurrrrs 72-FORTRAN Statement
7 S p e c i f y i n gB l a n k F i e l d si n a R e c o r d ( X F o r m a t C o d e ) 36
C o r u r n r r s 3 - 8 0 ( o r 7 3 - 9 6 ) - P r o g r a m l d e n t i fi c a t i o n
7 7 Formatting the Record (T Format Code) 36
Elements f the Language
o 8 Listsfor Transmission f Data o 3t
O r o e r o f S l . i r e m e n t sn a F O R T R A N P r o g r a m
i 6 I n d e x i n gi n I n p u t / O u t p u t L i s r s 37
lmplied DO Notationin Input/Output Lists Jd
C H A P T E R 2 . C O N S T A N T S ,V A R I A E L E S . A N D A R R A Y A d d i t i o n a l D e t a i l so f I n p u t / O u t p u t L i s t s 38
ELEMENTS q PnntedOutput 39
l r r t e g { l ra n d f l e a l C a l c u l a t i o r r s 9 Data lnput to the Obiect Program 39
Data Type s irnd Data Description 9 L i s t - D i r e c t e dI n p u t D a t a 40
Oper.rtion S!,mbols o L i s t - D i r e c t e dO u t p u t D a t a 40
C o n s t d r it ! o
Integ(irConstants 10 CHAPTER 6. INPUT/OUTPUT STATEMENTS 41
Real Crtrrstants 10 S E O U E N T I A L I N P U T / O U T P U TS T A T E M E N T S 42
Hexariecimal Constants l l READ Statement 42
L i t c r e t lC o r t s l a n t s 12 WR ITE Statement 43
Va' rables 12 END FILE Statement 43
Variairle Nantes 12 BACKSPACE Statement 43
Variaole Types 13 REWIND Statement 44
A rray s 1 ? D I R E C T - A C C E S SI N P U T / O U T P U T S T A T E M E N T S 45
Arrangement of Arrays in Storage 14 D e fi n e F I L E S t a t e m e n t 45
S ub s c ri p t s 14 Direct-Access EAD Statement
R 46
Form ol Subscripts 14 Direct-Access R ITE Statement
W 47
FIND Statement 48
C H A P T E : R . A R I T H M E T I C A S S I G N M E N TS T A T E M E N T S
3 G e n e r a l E x a m p l e - D i r e c t - A c c e s sO p e r a t i o n s 49
AND EXPRESSIONS 15
A r t h m e t i c A s s i q n m e nS t a t e m e n t s
t 15 C H A P T E R 7 . S P E C I F I C A T I O NS T A T E M E N T S 51
Expressions 15 TYPE Statements c l
R u l e sf o r C o n s t r u c t i n g x p r e s s i o n s
E 15 IMPLICIT Statement 51
Mode of an Arithmetic Statement 17 E x p l i c i tS p e c i f i c a t i o n t a t e m e n t s I N T E G E R a n d
S (
REAL) 52
CHAPTER 4. CONTROL STATEMENTS 19 DIMENSIONStatement 53
Unconditional (iO TO Statement 19 COMMON Statement 53
Computi:d GO TO Statement 19 EOUIVALENCE Statement 30
Rclation:l IF Statement 20 O t h e r S p e c i fi c a t i o n S t a t e m e n t s 57
Arithmelic lF Statement 21 D a t a I n i t i a li z a t i o n S t a t e m e n t 57
DO Statennent 21
C O N T I N U ES t a t e m e n l 23 CHAPTER8. SUBPROGRAMS 59
PAUSE{iratemenr 24 N a m i n gS u b p r o g r a m s 59
S T O PS t a t e m e n t 24 S t a t e m e n tF u n c t i o n s 59
P A U { i Ea n d S T O P A l g o r i t h m 25 FunctionDefinition 59
C h a r a c t et o D i s p l a c e m e n t
r 26 Function Reference 60
D e c i r n a lt o H e x 26 F U N C T I C , NS u b p r o g r a m s 61
END Staternent 27 SUBROUTI N E Subprograms oz
CALL Statement bJ
CHAPTHR 5. FIORMAT OF INPUT/OUTPUT 29 RETURN Statement 64
Format {;1atemlnt 29
V a r i o u s F o r m s o f a F o r m a t Statement 30
P a v e , J fS C 2 8 . i j 8 7 4 . 3
lssued 29 Septembrrr i g 7b
By Tl\[-: SN21,5634
Dummy Arguments in a Function or Sul)routine CHAPTER 16" JOB OUTPUT 1 1 1
S ub p r o g r a m 64 O b l e c tM o d u l e 1'11
EXTERNAL Statement 65 ESL Records 1 1 ,
Automatrc Function Selection 66 R L D Recrrrcts t ' !
GENERICStarement bb ilND Rrcord 1t."
C o r n P ' l eO r r l t r u tL r s t r n S
r a j l
C H A P T E R 9 . I N T E R P R O G R A MC O M t t t U N | C A T t O N bv Messagrs
PROGRAM Statement 69 Output from -PRL'(.;ESS !",orrs O 1t,-
INVOKE Statement 69 O b j e c t M o c l u l e C . r r r iD e c k 114
GLOBAL Statement 10 Source odul,.Listinq
M 11 i i
S t t r r a g eM a p I it"
CHAPTER 1O. DEBUG FACILITY 11 L i n k a g e d rt t , r O r ; t ; ' u r
E i 1:1.
DEBUG Statement 71 Load Module 1i:)
AT Statement 72 L i n k a g eE d i t o r O u t p u t L r s t r n g -Jil
I
TRACE ON Statemenr Output {rum C)})1'ons i 2\i
TRACEOFF I5 Load ModuleOutpur
E x a m p l e s f t h e D e b u gF a c i l i t y
o aa Messages 12,1
P r o g r a mO u t p ' , t "t24
CHAPTER 11. EXAMPLESOF FORTITAN U s i n gt h l ' F O R T R A N T r a c e b a c k i s t i n g
L a aA
PROGRAMS 75
S a m p l eP r o g r a m 1 75 PART 3. PROGRAMMING CONSIDERATIONIS i ?.')
S a m p l e P : ' o g r a m2 76
CHAPTER 17. DIRECT.ACCESS ROGRAM'!'IING P
P A R T 2 . S Y S T E M / 3 F O R T R A N I V U S E R ' SG U I D E 81 CONSIDERATIONS '13
i
Formatted l/O 1:Ji
CHAPTER 12. OVERVTEWF FORTIIAN O Unformatted l/O 1.i1
PROCESSING a? S h a r i n gt h e A s s o c i a t e dV a r i a b l e B e t w e e n P r o g r a m s 131
H o w a F O R T R A N P r o g r a mi s P r o c e s s e d 6J M i n i m i z i n gD i r e c t - A c c e s|s O T r r n e
/ 132-
U s i n g O p e r a t i o n C o n t r o l L a n g u a g e( O C L . ) 86 B u f f e r A s s i g n m e n t o r D i r e c t - A c c e sF i l e s
f s 13?
IBM System/3 FORTRAN-Supplied )rocedures 86 Sharrng uffersB 1 a A
Libraries 88
Compiler, Linkage Editor, and Load Mo,lule Outout 88 CHAPTER 18. SEOUENTIAL DISK AND TAPE
D e fi n i n g F i l e s 88 P R O GR A M M I N G C O N S ID E R A T I O N S 13r.,
F i l e s N e e d e db y t h e C o m p i l e r a n d L i n k a g e E d i t o r 88
Formatted or List-Directed l3b
F i l e s N e e d e db y t h e F O R T R A N L o a ' j M o d u l e 88
U n fo r m a t t e d l / O 135
D e fi n i n g F O R T R A N F i l e sa t C o m p i l i r t i o n i m e
T 88 B u f f e r A s s i g n m e n f o r S e q u e n t r aF i l e s
t l 138
D e f i n i n gF O R T R A N F i l e sa t E x e c u t i o nT i m e 89 R e s t r i c t i o n s n t h e O r d e r o f S e q u e n t i al / O O p e r a t i o n s
o 138
L o g i c a lU n i t N u m b e r s 89 Model 15 Multilile TapeProcessing 1:i8
T a p e P r o c e s s i n gn P r o g r a m sU s i n g O v e r l a y s
i 138
CHAPTER 13. COMPILATION q2
Compiler Option Statements o? CHAPTER 19. FORTRAN IMPLEMENTATION
R E A D D e v i c eO p t i o n S t a t e m e n t 94 CONSIDERATIONS 139
P R I N T a n d N O P R I N T E R D e v i c eO o : i o n S t a t e m e n t s 94 Arrav Considerailons 139
P U N C H D e v i c eO p t i o n S t a t e m e n t qR Expression onsiderations
C 139
D A D 4 0 , D A D 4 4 , a n d D A D 4 5 D e v i c eO o t i o n R e a lN u m b e r C o n s i d e r a t i o n s 139
Stateme ts n 95 A s s i g n m e nS t a t e m e n t C o n s i d e r a t i o n s
t 139
S E O 4 0 . S E O 4 4 , a n d S E Q 4 5 D e v i c eO p t i o n C o n t r o l S t a t e n r e n tC o n s i d e r a t i o n s 139
Stateme ts n 96 C A L L S t a t e m e n tC o n s i d e r a t i o n s 140
T A P E D e v i c eO p t i o n S t a t e m e n t g1 S u b p r o g r a mV a l u e C o n s i d e r a t i o n s 140
CORE Statement o7 S e t t i n gu p a J o b S t r e a mf o r P r o g r a m s o n t a r n i n g
C
CATEGORY Statement 98 P R O G R A Ma n d I N V O K E 140
*PROCESS S e p a r a t r n g e b u g ,D U M P . o r P D U M P O u t p u t f r o r n
D
Statement 98
B a t c h e dC o m p i l a t i o n 102 Other Progranr 'rrprrt O 140
C o m b i n i n gO C L a n d C o m p i l e rO p t i o n S . : a t e m e n t s tvt D i r e c t i n gP r o g r a mO u t p u t t o B o t h a P r i n t e ra n d a
CardPunch 1 4 1
CHAPTER 14. LINKAGE EDIToR PRI)CESSING 105 D E B U G F a c i l i t yC o n s i d e r a t i o n s 141
C o m p i l e r I n p u t t o t h e L i n k a g eE d i t o r 105 A s s i g n i n gN a m e s t o U s e r - S u p p l i e d u b p r o g r a m s
S 142
O C L S t a t e m e n t sN e e d e df o r t h e L i n k a g e E d i t o r 105
Linkage Editor Control Statements 106 CHAPTER 20, SYSTEMCONSIDERATIONS 145
L i n k a g eE d i t o r O v e r l a yF e a t u r e r06 O p t i m u m A s s i g n m e no f $ W O R K a n d $ S O U R C E
t
Work Files 145
CHAPTER T5. LOAD MODULE EXECUTION 107 A s s i g n m e n o f W o r k F i l e so n O n e D i s k
t 145
O C L S t a t e m e n t sN e e d e df o r L o a d M o d u l e E x e c u t i o n 107 A s s i g n m e n o f W o r k F i l e so n T w o D r s k s
t 14b
ProgramData 108 M o d e l 1 5 A s s i g n m e n o f W o r k F i i e so n 5 4 4 t i o r 3 3 4 0
t
C o r n b i n i n g L o a d M o d u l e O C L S t a t e m e n t sw i t h C o m o i l e Disk Storage 14i',
Step Statements 108 L i n k a g e B e t w e e n M o d u l e s P r o d u c e db y S y s t e m , i 3
L a n g u a g eT r a n s l a t o r s t40
S t a nd a r d s 148
vtl
C o n s o l eD i s p l a yP a n e lD i a l S e t t a n g s 148 Relational F Statemenl 167
M o d e l s1 C a n d 1 2 D u a t P r o g r a m m i n g o n s i d e r a t i o r r s
, C 149 RETURNS:atement toI
Model 15 Cr:nsiderations
149 REWIND Statemcnl
M o d e l 1 5 S p o o l e dE n v i r o n m e n ta n d M u l t i p r o g r a m m r n g 167
149 S e q u e n t i aR E A D / W R I T E S t a t e m e n t s
l
M o r l e l1 5 C F l T / K e y b o a r d u p p o r t 167
S 149 S T O PS t a t e m e n r 167
M o d e l 1 5 D o u b l e B u f f e r i n gf o r C a r d D e v i c e s
150 S U B R O U T I N ES r a t e m e n t
Cons derations/Restrictions
r 167
150 TRACEOFF Sratemenr
D i f l e r e r c e s e t w e e n1 i 3 0 a n d S y b t e m / 3
r I oaJ
B 151 TRACE ON Statemcnl t06
Unit Numbers 'l
51 W R I T E S t a t e m e n t{ D i r e c t - A c c e s s ) 168
D t : v i r : eO p t i c n s
152 W R I T E S t a t e m e n r( g s q u s n l 1 3 l )
S p r : c r f y i r r gl h c B C D O l r t r o n 168
152
Reacl/Punchon the Same Caro
t5z C H A P T E R 2 . S Y S T E M / 3 F O R T R A N I N T R T N S I CA N D
2
CallLink
153 EXTERNAL IBRARY FUNCTTONS
L
A s s o c i a t e d\ / a r i a b l e si r r S u b r o u t i n e s 169
r5J Algorith ms
Librerry outines
R 169
153 C o n t r o l o f P r o g r a mE x c e p t i o n si n M a t h e m a t i c a l
P a s srig A r r a y s
154 Functions
L e r r g t t S p e c i ifc a t i o no f V a r i a b l e s
r I t3
154 E x p o n e n t i a lF u n c t i o n s
U s eo f C O M M O N ,E O U T V A L E N C Ea n d D E F T N E , I I4
E X P , R E A L * 4 E x p o n e n t i a lF u n c t i o n ( M o d u l e N a m e s
FI L E
154 EXP,$FOMM,$FOMC)
Rourrding 174
154 D E X P , R E A L " 8 E x p o n e n t i a lF u n c t i o n ( M o d u l e
P a s s i n g c a l a rA r g u m e n t st o S u b r o u t i n e s
S 154 N a r n e s E X P , g F O MN , g F O M D )
D
F o r r r , sC o n t r o l
155 L o g a r i t h m i cF u n c t i o n s
Cornrnercial ubroutines
S 175
155 A L O G , R E A L . 4 N a t u r a l L o g a r i t h m ( M o d u l eN a m e s
U e C l l n aU A t J F O r m a t
l
155 A L O G , $ F O M 5 , $ F O M)
A1 DataFormat I 115
N e g a t i v cZ e r o A L O G 1 0 , R E A L * 4 B a s e1 0 L o g a r i t h m( M o d u l eN a r n e s
155 A L O G1 0 , g F O M . $ F O M 5 )
N u r n b e ro f F l e c o r dF i e t d si n t h e D E F I N E F I L E K I to
Statement D L O G , R E A L * 8 N a t u r a l L o g a r i t h m ( M o d u l eN a m e s
D LOG,$FOMJ,gFOM6) I to
PART4. REFERENCE D L O G 1 0 ,R E A L * 8 B a s e1 O L o g a r i t h m( M o d u l e N a m e s
157 D L O G , I , $ F O I V I, $ F O N N 6 )
O L 116
C H A P T E R2 1 , F O R T R A N S T A T E M E N T R E F E R E N C E T r i g o r r o m e t r rF u n c t i o n s
c 177
159 S I N / C O S ,R E A L " 4 S i n e / C o s i n eM o d u t eN a m e s
(
A r i t l r . n e t i ch s s i g n m e n t t a t e m e n t
S 159 s r N , c o s , $ F o, $ F O M 3 )
A r i l h T l e t i cI F S t a t e m e n t 1M 171
159 A T A N , R E A L * 4 A r c t a n g e n t( M o d u l e N a m e s
AT Si:atcrnent
160 ATAN,$FOME)
B A C I I S P A C ES r a t e m e n l 178
160 D S I N / D C O S ,R E A L - 8 S i n e / C o s i n e M o d u t eN a m e s
(
C A L L ,S t a r e m e n t
160 D S IN , D C O S , $ F O M 2 , $ F O M 4 )
C O M I v I O NS r i l t e m e n t 179
160 D A T A N , R E A L * 8 A r c t a n g e n t( M o d u l e N a m e s
ConrputedGO TO Statement
161 DATAN,$FOM ) F
CONI-INUEStatement 180
161 Square Root Functrons
DATI\ Staternent 181
t b l SORT, REAL-4 Square Root (fUoOule
ru"-es
DEBLJG tatement S 161 S O R Ta n d $ F O M G )
DEFINEFILE Statement 181
162 D S O R T , R E A L . 8 S q u a r eR o o t ( M o d u l eN a m e s
D I M E N S I O NS t a t e m e n t
162 D S O R Ta n d $ F O M H )
D i r e c l - A c c e sR;E A D / W R I T E S t a t e m e n t
: 182
tol H y p e r b o l i cT a n g e n tF u n c t i o n s
D O S l a t e r n e ri 183
toz T A N H , R E A L * 4 H y p e r b o t i cu " ; " " ; ( M o d u r eN a m e s
END litaterrrerrt ;
toJ TANH,$FOIVIO,$FOMM)
END l:lLE 51;ltement 183
toJ D T A I \ H , R E A L * 8 H y p e r b o l i cT a n g e n t( M o d u l eN a m e s
EOUI VA LE I\JCE tatement S toJ D T A NH , $ F O M P , $ F O M) N
E x p li c . i tS p e c i r c a t i o nS t a t e m e n t
f 183
163 l m p l i c i t l y I n v o k e dE x p o n e n t i a t i o n u b p r o g r a m s
EXTERNAT_ tatement S 184
S 163
FIND Staternent $ F O M 7 , S u b p r o g r a m o r l * * J ( M o d u l eN a m e g F O M 7 .