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 / Xsystem
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:
Fix information
Fixed component name
JAVA(1.X) Z/OS
Fixed component ID
5648C9801
Applicable component levels
R142 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
05 January 2011