Kbase P153224: 4GL/ABL: Error 'Unable to open file: <File Name> Errno=75. (98) reading a large file
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/24/2009 |
|
Status: Unverified
SYMPTOM(s):
4GL/ABL: Error 'Unable to open file: <File Name> Errno=75. (98) reading a large file
'Unable to open file: <File Name> Errno=75. (98)
Executing 4GL/ABL INPUT FROM statement to read a 2.7 GB file using code similar to the following snippet:
DEFINE VARIABLE cLine AS CHARACTER NO-UNDO.
INPUT FROM VALUE(SEARCH("myLargeFile.txt")).
REPEAT:
IMPORT UNFORMATTED cLine.
MESSAGE cLine.
END.
INPUT CLOSE.
FACT(s) (Environment):
Linux
Progress 9.1E
OpenEdge Category: Language (4GL/ABL)
CAUSE:
The Progress 2GB file size limitation has been fixed in Progress 9.1E and OpenEdge 10.1C and later. In this specific case, where the developer is using Progress 9.1E, the issue turned out to be an operating system limitation or setting.
FIX:
If the operating system has a hardwired 2 GB file limit that can not be increased, split the file into multiple files each smaller than the operating system's limit of 2GB.
If the operating system allows the file size to exceed 2 GB limit via the ulimit command or some other operating system utility, change the operating system file size limit to allow large files processing as desired.