-qfixed

Category

Input control

Purpose

Indicates that the input source program is in fixed source form and optionally specifies the maximum line length.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--fixed--+-----------------+-----------------------------><
               '-=--right_margin-'   

@PROCESS:

@PROCESS FIXED[(right_margin)]

Defaults

-qfixed=72 is the default for the xlf, xlf_r, and xlf_r7 invocation commands when they are used to compile the .f, .F, .f77, or .F77 files.

-qfixed=72 is also the default for the f77 and fort77 invocation commands.

Note:

-qfree=f90 is the default for the f90, xlf90, xlf90_r, xlf90_r7, f95, xlf95, xlf95_r, xlf95_r7, f2003, xlf2003, xlf2003_r, f2008, xlf2008, and xlf2008_r commands.

Usage

The source form specified when executing the compiler applies to all of the input files, although you can switch the form for a compilation unit by using a FREE or FIXED @PROCESS directive, or switch the form for the rest of the file by using a SOURCEFORM comment directive (even inside a compilation unit).

For source code from some other systems, you may find you need to specify a right margin larger than the default. This option allows a maximum right margin of 132.

Related information