VMS Help  —  FORTRAN  /CONVERT=option D=/CONVERT=NATIVE
  Specifies the format of numeric unformatted data in a file.

  By default, an unformatted file containing numeric data is assumed
  to be in the same floating-point format used for memory
  representation or /CONVERT=NATIVE.  You set the floating-point
  format used for memory representation using the /FLOAT qualifier.

  There are other ways to specify format for numeric unformatted
  files:  you can specify an OpenVMS logical name, OPEN (CONVERT=),
  or OPTIONS/CONVERT.  The order of precedence is:

  1.  A logical name

      The form is FOR$CONVERTnnn, where "nnn" is the logical unit
      number (including leading zeros if necessary).

  2.  OPEN (CONVERT=)

  3.  OPTIONS/CONVERT

  4.  The qualifier /CONVERT

  The /CONVERT qualifier and OPTIONS/CONVERT affect all unit numbers
  used by the program, while a logical name and OPEN (CONVERT=)
  affect specific unit numbers.

  The /CONVERT qualifier specifies a default data-conversion type for
  all logical units opened in the program unit, either explicitly by
  an OPEN statement or implicitly by a READ, WRITE or other I/O
  statement (with the exception of DEFINE FILE).

  For more information on using unformatted data files, using OpenVMS
  logical names to specify CONVERT options, and information about the
  ranges of the various data types, see the HP Fortran for OpenVMS
  User Manual.

  BIG_ENDIAN
    Specifies that numeric data in unformatted files is in big endian
    integer format (INTEGER declarations of the appropriate size) and
    IEEE floating-point format (REAL and COMPLEX declarations of the
    appropriate size).

    INTEGER(KIND=1) data is the same for little endian and big
    endian.

  CRAY
    Specifies that numeric data in unformatted files is in big endian
    integer format (INTEGER declarations of the appropriate size) and
    CRAY floating-point format (REAL and COMPLEX declarations of the
    appropriate size).

  FDX
    Specifies that numeric data in unformatted files is in little
    endian integer format (INTEGER declarations of the appropriate
    size).  It also specifies VAX floating-point format
    F_floating (for size REAL(KIND=4) and COMPLEX(KIND=4)),
    D_floating (for size REAL(KIND=8) and COMPLEX(KIND=8)), and IEEE
    X_floating (for size REAL(KIND=16)).

  FGX
    Specifies that numeric data in unformatted files is in little
    endian integer format (INTEGER declarations of the appropriate
    size).  It also specifies VAX floating-point format
    F_floating (for size REAL(KIND=4) and COMPLEX(KIND=4)) and
    G_floating (for size REAL(KIND=8) and COMPLEX(KIND=8)), and IEEE
    X_floating (for size REAL(KIND=16)).

  IBM
    Specifies that numeric data in unformatted files is in big endian
    integer format (INTEGER declarations of the appropriate size) and
    IBM System\370 floating-point format (REAL and COMPLEX
    declarations of the appropriate size).

  LITTLE_ENDIAN
    Specifies that numeric data in unformatted files is in little
    endian integer format (INTEGER declarations of the appropriate
    size) and IEEE IBM System\370 floating-point format (REAL and
    COMPLEX declarations of the appropriate size).

    INTEGER(KIND=1) data is the same for little endian and big
    endian.

  NATIVE
    Specifies that numeric data in unformatted files is determined by
    the floating-point format representation in memory, which is
    specified using the /FLOAT qualifier.  If you omit the /FLOAT
    qualifier and specify the obsolete /[NO]G_FLOATING qualifier, the
    format specified by the /[NO]G_FLOATING qualifier is used.

    This is the default.

  VAXD
    Specifies that numeric data in unformatted files is in little
    endian integer format (INTEGER declarations of the appropriate
    size).  It also specifies HP VAX floating-point format
    F_floating (for size REAL(KIND=4) and COMPLEX(KIND=4)) and
    D_floating (for size REAL(KIND=8) and COMPLEX(KIND=8)), and
    H_floating (for size REAL(KIND=16)).

  VAXG
    Specifies that numeric data in unformatted files is in little
    endian integer format (INTEGER declarations of the appropriate
    size).  It also specifies HP VAX floating-point format
    F_floating (for size REAL(KIND=4) and COMPLEX(KIND=4)) and
    G_floating (for size REAL(KIND=8) and COMPLEX(KIND=8)), and
    H_floating (for size REAL(KIND=16)).
Close Help