PM21224: NOT HANDLING FILE OVER 2GB SIZE IN ZOS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: The length() function returns negative value when
    file is larger than 2GB.
    Similar problems are reported in RandomAccessFile.offset while
    handling larger files (files greater than 2 GB)
    .
    Stack Trace: N/A
    .
    

Local fix

  • No workaround
    

Problem summary

  • The file handling native calls can handle file only upto 2GB
    size in 31 bit addressing zOS system. The function calls will
    return incorrect values while processing file over 2GB size.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13 FP8 (z/OS 31-bit)
    5.0.0 SR12 FP2
    .
    In 31 bit addressing zOS, this problem can be resolved using a
    Feature Test Macro _LARGE_FILES.
    This feature test macro enables certain functions to operate on
    HFS files that are larger than 2 gigabytes in size. When this
    feature test macro is selected it must be used in conjunction
    with the compiler option, LANGLVL(LONGLONG) to activate the long
    long data type.
    This function will be activated to operate on HFS files of all
    sizes by expanding appropriate offset and file size values to a
    64 bit value.
    .
    To obtain the fix:
    Install build 20100917 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM21224

  • Reported component name

    JAVA(1.X) Z/OS

  • Reported component ID

    5648C9801

  • Reported release

    142

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-26

  • Closed date

    2010-10-01

  • Last modified date

    2011-01-05

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

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

    IZ83407

Fix information

  • Fixed component name

    JAVA(1.X) Z/OS

  • Fixed component ID

    5648C9801

Applicable component levels

  • R142 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

z/OS family

Software version:

1.4.2

Reference #:

PM21224

Modified date:

2011-01-05

Translate my page

Machine Translation

Content navigation