FORTRAN[/qualifier[s]] filespec[,s] /[NO]CHECK /CODE:arg /CONTINUATIONS:n EAE /[NO]DLINES EIS /[NO]EXTEND FIS /FOR THREADED /F4P /[NO]F77 /IDENTIFICATION /[NO]I4 /[NO]LINE_NUMBERS /[NO]LIST[:filespec] /[NO]MACHINE_CODE /[NO]OBJECT[:filespec] /[NO]SHAREABLE /[NO]TRACEBACK:arg /USING:usercompiler ALL /[NO]VECTORS BLOCKS /[NO]WARNINGS LINES /WORK_FILES NAMES NONE The FORTRAN command invokes either the DIGITAL FORTRAN IV compiler, or FORTRAN IV-PLUS compiler, or the FORTRAN-77 compiler. Type HELP FORTRAN qualifier for more information. 2 FOR FORTRAN/FOR filespec[,s] The /FOR qualifier specifies that the DIGITAL FORTRAN IV compiler is to be invoked. This is the default FORTRAN compiler. The default for file type for source files is .FTN. 2 F4P FORTRAN/F4P filespec[,s] The /F4P qualifier specifies that DIGITAL's FORTRAN IV-PLUS compiler be invoked. This compiler offers many extensions to the standard DIGITAL FORTRAN IV language. The default file type for source files is .FTN. You can also compile FORTRAN IV-PLUS code on the FORTRAN-77 compiler with the /NOF77 qualifier. 2 NOF77 #F4P 2 F77 FORTRAN/F77 filespec[,s] FORTRAN/NOF77 filespec[,s] The /F77 qualifier specifies that DIGITAL's FORTRAN-77 compiler be invoked. This compiler embodies a new FORTRAN standard, but also includes most features of FORTRAN IV-PLUS. Specifying /F77 means the code will be compiled according to the FORTRAN-77 standard. Specifying /NOF77 means the code will be compiled according to the rules of FORTRAN IV-PLUS. See the FORTRAN documentation supplied with your system for more information on the FORTAN-77 standard. 2 LIST FORTRAN/LIST[:filespec] filespec[,s] FORTRAN filespec[,s]/LIST The /LIST qualifier specifies that a listing file of the compilation be generated. If a filespec is not specified, the listing file will have the same name as the last source file, with a type of .LST. /NOLIST is the default. /LIST as a command qualifier causes the listing to be printed on the line printer and placed in your UFD. /LIST as a filespec qualifier places the file in your directory, but it is not passed to the line printer; also, the listing file takes its name from the name of the file to which it is attached. All the listing-related qualifiers work in this way. All the listing-related qualifiers also imply /LIST. If you use any of them, you do not need /LIST unless you wish to give the listing file a name different from the names of any of the files in the command. See also HELP FORTRAN MACHINE_CODE, HELP FORTRAN MAP and HELP FORTRAN SOURCE. 2 NOMACHINE_CODE #MACHINE_CODE 2 MACHINE_CODE FORTRAN/MACHINE_CODE filespec[,s] FORTRAN filespec[,s]/MACHINE_CODE The /MACHINE_CODE qualifier specifies that you wish the compiler listing to include binary machine code and diagnostics. The default is /NOMACHINE_CODE. /MACHINE_CODE implies /LIST. You do not need to use /LIST unless you wish to give the listing file a name different from the names of any of the files in the command. /MACHINE_CODE as a command qualifier causes the listing to be printed on the line printer and placed in your UFD. /MACHINE_CODE as a filespec qualifier places the file in your directory, but it is not passed to the line printer; also, the listing file takes its name from the name of the file to which it is attached. All the listing-related qualifiers work in this way. /NOMACHINE_CODE is the default. 2 PIC #CODE 2 POSITION_INDEPENDENT #CODE 2 EAE #CODE 2 FIS #CODE 2 THREADED #CODE 2 EIS #CODE 2 CODE FORTRAN/FOR/CODE:(arg[,s]) filespec[,s] THREADED EAE EIS FIS The /CODE qualifier specifies that the FORTAN IV code has certain characteristcs. The THREADED ar~pic~ 2 NOSOURCE #SOURCE 2 SOURCE FORTRAN/SOURCE filespec[,s] FORTRAN filespec[,s]/SOURCE The /SOURCE qualifier specifies that you wish the compiler listing to include the source code. /SOURCE is the default. /SOURCE as a command qualifier causes the listing to be printed on the line printer and placed in your UFD. /SOURCE as a filespec qualifier places the file in your directory, but it is not passed to the line printer; also, the listing file takes its name from the name of the file to which it is attached. All the listing-related qualifiers work in this way. 2 NOMAP #MAP 2 MAP FORTRAN/MAP filespec[,s] FORTRAN filespec[,s]/MAP The /MAP qualifier specifies that you wish the compiler listing to include a storage map and diagnostics. The default is /NOMAP. /MAP as a command qualifier causes the listing to be printed on the line printer and placed in your UFD. /MAP as a filespec qualifier places the file in your directory, but it is not passed to the line printer; also, the listing file takes its name from the name of the file to which it is attached. All the listing-related qualifiers work in this way. 2 OBJECT FORTRAN/OBJECT[:filespec] filespec[,s] FORTRAN/NOOBJECT filespec[,s] The /OBJECT qualifier specifies that an object file be generated. If a filespec is not specified, the object file will have the same name as the last source file, with a type of .OBJ. This is the default. 2 NOCHECK #CHECK 2 CHECK FORTRAN/F4P/CHECK filespec[,s] FORTRAN/F77/CHECK filespec[,s] The /CHECK qualifier tells the compiler to generate code to check that all array references are within the array address bounds specified by the program. Individual subscripts are not checked against dimension specifications. Thi qualifier is for FORTRAN IV-PLUS and FORTRAN-77. The default is /NOCHECK. 2 CONTINUATIONS FORTRAN/F4P/CONTINUATIONS:n] filespec[,s] FORTRAN/F77/CONTINUATIONS:n] filespec[,s] The /CONTINUATIONS qualifier specifies the maximum number of continuation lines permitted in the program. The value of n may be between 0 and 99. The default is /CONTINUATIONS:5. This qualifier is for the FORTRAN IV-PLUS and FORTRAN-77 compilers. 2 NOD_LINES #DLINES 2 DLINES FORTRAN/[NO]DLINES filespec[,s] The /DLINES qualifier tells a FORTRAN compiler to compile lines with a "D" in column one. These lines are normally treated as comment lines. This qualifier is for the FORTRAN IV-PLUS and FORTRAN-77 compilers. 2 NOEXTEND #EXTEND 2 EXTEND FORTRAN/F4P/EXTEND filespec[,s] FORTRAN/F77/EXTEND filespec[,s] The /EXTEND qualifier tells the compiler to accept a full 80 columns of FORTRAN source input per line. Columns 73 through 80 are treated as a sequence field (comments). Normally, FORTRAN reads only the first 72 columns. The default is /NOEXTEND. This qualifier is for the FORTRAN IV-PLUS and FORTRAN-77 compilers. 2 IDENTIFICATION FORTRAN/IDENTIFICATION filespec[,s] The /IDENTIFICATION qualifier instructs a FORTRAN compiler to print its identification and version number on the user's terminal. 2 NOI4 #I4 2 I4 FORTRAN/I4 filespec[,s] The /I4 qualifier causes two-word default allocation for integer vari- ables. Under the default, /NOI4, single storage word will be the default allocation for integer variables not given an explicit length specification. 2 SHAREABLE FORTRAN/F4P/SHAREABLE filespec[,s] FORTRAN/F4P/SHAREABLE filespec[,s] The /SHAREABLE qualifier directs the compiler to generate pure code and pure data sections as read-only, in order to take advantage of code sharing in multiuser tasks on RSX-11M-PLUS systems. This qualifier is for the FORTRAN IV-PLUS and FORTRAN-77 compilers. 2 NOLINE_NUMBERS #LINE_NUMBERS 2 LINE_NUMBERS FORTRAN/FOR/LINE_NUMBERS filespec[,s] The /LINE_NUMBERS qualifier tells the FORTRAN IV compiler to include Internal Sequence Numbers. These internal sequence numbers take up space in the generated object code and may have some detrimental effect on program execution speed. However, they are useful in informing you what line caused your program to err, should an execution error occur. The default is /NOLINE_NUMBERS. This switch is recognized only by the FORTRAN IV compiler. 2 NOTRACEBACK #TRACEBACK 2 TRACEBACK FORTRAN/F4P/TRACEBACK:arg filespec[,s] FORTRAN/F77/TRACEBACK:arg filespec[,s] Arguments ALL BLOCKS LINES NAMES NONE The /TRACEBACK qualifier controls the amount of extra code included in the compiled output for use by the OTS during error traceback. This code is used in producing diagnostic information and in identifying which statement in the FORTRAN source program caused an error condition to be detected during execution. ALL Error traceback information is compiled for all source statements, and function and subroutine entries. LINES same as ALL BLOCKS traceback information is compiled for subroutine and function entries and initial statements in sequences called blocks NAMES traceback information is compiled only for sub- routine and function entries NONE no traceback information is produced The default is /TRACEBACK:BLOCKS. This qualifier is for FORTRAN IV-PLUS and FORTRAN-77. 2 NOVECTORS #VECTORS 2 VECTORS FORTRAN/FOR/VECTORS filespec[,s] The /VECTORS qualifier tells the FORTRAN IV compiler to vector arrays. Vectoring of arrays increases the size of the object program, but decreases the execution time. This is the default. This switch is recognized only by the FORTRAN IV compiler. 2 NOWARNINGS #WARNINGS 2 WARNINGS FORTRAN/WARNINGS filespec[,s] The /WARNINGS qualifier tells the FORTRAN IV compiler to issue warning diag- nostics. This is the default. This switch is recognized only by the FORTRAN IV compiler. 2 USING FORTRAN/USING:userfortrancompiler filespec[,s] The /USING qualifier allows you to invoke a FORTRAN compiler other than either of the DIGITAL FORTRAN compilers. See your system manager about the availability of other FORTRAN compilers.