-qlog4

Category

Portability and migration

Purpose

Specifies whether the result of a logical operation with logical operands is a LOGICAL(4) or is a LOGICAL with the maximum length of the operands.

You can use this option to port code that was originally written for the IBM® VS FORTRAN compiler.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-nolog4-.   
>>- -q--+-log4---+---------------------------------------------><

@PROCESS:

@PROCESS LOG4 | NOLOG4

Defaults

-qnolog4, which makes the result depend on the lengths of the operands.

Usage

Specifying -qlog4 makes the result a LOGICAL(4).

If you use -qintsize to change the default size of logicals, -qlog4 is ignored.