IBM Support

IV37621: large record in program may cause wrong output

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In 64-bit mode, if user attempts to write more than 2**31 bytes
    in a single unformatted record using the default value for the
    UWIDTH option (32), no error is emitted, and the record marker
    will overflow.
    

Local fix

  • The program should be run with UWIDTH=64.  If that's done, there
    is no error and no overflow.
    

Problem summary

  • In 64-bit mode, if you attempt to write more than 2**31 bytes
    in a single unformatted record using
    the default value for the UWIDTH option (32), no error is
    emitted, and the record marker will overflow.
    The cause of the problem is that with UWDITH=32, the record
    marker used by XLF is a 4 byte signed
    integer.  It therefore imposed a record limit of 2**31 - 1.
    Programs that require larger records must
    use the UWIDTH=64 option which uses 8-byte records.
    

Problem conclusion

  • The problem had been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV37621

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-05

  • Closed date

    2013-03-05

  • Last modified date

    2013-03-13

  • APAR is sysrouted FROM one or more of the following:

    LI77122

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5725C7400

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH4D","label":"XL Fortran for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14.1"}]

Document Information

Modified date:
03 October 2021