Closed as program error.
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 .
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.
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
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels