Fortran compiler options

You can use these Fortran compiler options shown in Table 1 to prepare your program for runtime debugging. For more detail on these options and functions, see VS FORTRAN Version 2 Programming Guide for CMS and MVS or VS FORTRAN Version 2 Language and Library Reference .

Table 1. Fortran compiler options for runtime debugging
  Description
FIPS Specifies if standard language flagging is to be performed. This is valuable if you want to write a program conforming to Fortran 77.
FLAG Specifies the level of diagnostic messages to be written. I (Information), E (Error), W (Warning), or S (Severe). You can also use FLAG to suppress messages that are below a specified level. This is useful if you want to suppress information messages, for example.
GOSTMT Specifies that statement numbers are included in the runtime messages and in the Language Environment dump.
ICA Specifies if intercompilation analysis is to be performed, specifies the files containing intercompilation analysis information to be used or updated, and controls output from intercompilation analysis. Specify ICA when you have a group of programs and subprograms that you want to process together and you need to know if there are any conflicting external references, mismatched commons, and so on.
LIST Specifies if the object module list is to be written. The LIST option lets you see the pseudo-assembly language code that is similar to what is actually generated.
MAP Specifies if a table of source program variable names, named constants, and statement labels and their displacements is to be produced.
OPTIMIZE Specifies the optimizing level to be used during compilation. If you are debugging your program, it is advisable to use NOOPTIMIZE.
SDUMP Specifies if dump information is to be generated.
SOURCE Specifies if a source listing is to be produced.
SRCFLG Controls insertion of error messages in the source listing. SRCFLG allows you to view error messages after the initial line of each source statement that caused the error, rather than at the end of the listing.
SXM Formats SREF or MAP listing output to a 72-character width.
SYM Invokes the production of SYM cards in the object text file. SYM cards contain location information for variables within a Fortran program.
TERMINAL Specifies whether error messages and compiler diagnostics are to be written on the SYSTERM data set and whether a summary of messages for all the compilations is to be written at the end of the listing.
TEST Specifies whether to override any optimization level above OPTIMIZE(0). This option adds runtime overhead.
TRMFLG Specifies whether to display the initial line of source statements in error and their associated error messages at the terminal.
XREF Creates a cross-reference listing.
VECTOR Specifies whether to invoke the vectorization process. A vectorization report provides detailed information about the vectorization process.