forked from s390guy/vm370
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FORTRAN.HELPCMD.D1
119 lines (86 loc) · 4.22 KB
/
FORTRAN.HELPCMD.D1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
FORTRAN ¦ FORTRANG ¦ FORTRANH MODULES
Use the FORTRANG & FORTRANH commands to invoke the OS FORTRAN Compliers. Then
use the LOAD and START commands to run the programs.
+----------------+------------------------------------------------------------+
| FORTRAN[G¦H] | filename ( options |
| | |
| | DIsk¦PRint¦NOPRint EBCDIC¦BCD ID¦NOID |
| | LINECNT(60)¦LINECNT(NN) LOAD¦NOLOAD MAP¦NOMAP |
| | NAME(MAIN)¦NAME(XXXXXXXX) NODECK¦DECK NOEDIT¦EDIT* |
| | NOID¦ID NOLIST¦LIST NOXL¦XL* NOXREF¦XREF* |
| | OPT(0)¦OPT(1)¦OPT(2)* |
| | SIZE(0000K)¦SIZE(NNNNNNNN)¦SIZE(NNNNK)* |
| | SOURCE¦NOSOURCE* TRACE(0)¦TRACE(nnnn)* |
| | * - Option only available with FORTRANH |
+----------------+------------------------------------------------------------+
Where:
FORTRAN<G¦H>
controls which compiler is invoked. FORTRAN with no suffix invokes
Fortran G.
filename the name of the file to be compiled. The filetype must be
FORTRAN and it must have fixed length 80 byte records.
Options:
DIsk
writes the complier listing as <Filename> LISTING on the "A" disk.
PRint
writes to the users virtual printer.
NOPRint
do not write a listing file.
EBCDIC¦BCD
allows the reading of a program in EBCDIC or BCD code. The default
is EBCDIC.
ID¦NOID
ID specifies that internal sequence numbers will be generated. These
can be used by the run time library to annotate errors. The default
is NOID.
LINECNT(NN)
specify the lines per page on the lisiting. The default is 66.
LOAD¦NOLOAD
controls OBJECT file generation. Default is LOAD.
MAP¦NOMAP
controls inclusing of Storage map in listing. Default is NOMAP
NAME(XXXXXXXX)
alocates a name to the MAIN program. Default MAIN.
NODECK¦DECK
controls the punching of the object code. If DECK is specified an
OBJECT deck is punched. Default is NODECK.
NOEDIT¦EDIT*
writes an editing listing. Requires OPT(2). Fortran H only.
NOLIST¦LIST
include the Source Code in the Listing file. Default is LIST.
NOXL¦XL*
enables some Extended Language facilites as described in GY28-6642.
Fortran H only.
NOXREF¦XREF*
includes a cross reference in the listing. The default is NOXREF.
Fortran H only.
OPT(0)¦OPT(1)¦OPT(2)*
set the Optimization level. Fortran H only.
SIZE(0K)¦SIZE(N)¦SIZE(K)*
set the Storage used by the compiler. Generally not usefull. H Only.
Fortran H only.
SOURCE¦NOSOURC*
include a copy of the source in the listing. The default is SOURCE.
Fortran H only.
TRACE(0)¦TRACE(nnnn)*
only for debugging the compiler. Fortran H only.
Usage Notes:
1. These are the the OS MVT Compilers which implement FORTRAN IV as described
in the manual:
IBM System/360 FORTRAN IV Language, Form C28-6515
This, along with the other relevant manuals may be downloaded from:
http://bitsavers.org/pdf/ibm/360/fortran/
2. When running FORTRAN programs by default all IO takes place to CMS disk
files of the form :
FILE FTnnF001 A
where "nn" is the stream number in the program. If you wish to do IO to a
specified file or device issue a FILEDEF referencing DD name FTnnF001.
For example entering:
FILEDEF FT06F001 TERM
will cause output on stream 6 to be sent to the CMS console.
The CMS FILEDEF command expands "nn" to FTnnF001.
4. The FORTRAN runtime library FORTLIB TXTLIB Y is required to load FORTRAN
programs and must be referenced in a GLOBAL TXTLIB command before issuing
a LOAD or INCLUDE command.
5. The VM/370 Community Edition also includes the WATFIV compiler.
See HELP WATFIV for more information.