Kbase P176275: Error occurs when attempting to import a files with size greater than 2GB on UNIX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/1/2010 |
|
Status: Unverified
SYMPTOM(s):
Error occurs when attempting to import a files with size greater than 2GB on UNIX
IBM AIX generates error 463
"<file-name>" is a directory (463)
RedHat Enterprise Linux generates error 98
** Unable to open file: <file-name>. Errno=<number>. (98)
** Unable to open file: <file-name>. Errno=75. (98)
FACT(s) (Environment):
Errno 75 resolves to:
#define EOVERFLOW 75 /* Value too large for defined data type */
Problem does not occur on Windows
Following code is used to read file:
DEFINE STREAM stm.
INPUT STREAM stm FROM /usr/tmp/2gb.txt.
Progress 9.x
OpenEdge 10.0x
OpenEdge 10.1A
OpenEdge 10.1B
UNIX
OpenEdge Category: Language (4GL/ABL)
CAUSE:
This is expected behaviour when accessing a file with size greater than 2GB and is the result of a limitation of the 32-bit client. The 32-bit client cannot read/write files larger than 2GB in OpenEdge 10.1B and lower. This limitation has been lifted in OpenEdge 10.1C and later.
FIX:
Option #1
Upgrade to OpenEdge 10.1C or later to take advantage of large system file support.
Option #2
Split the files into chunks that are less than 2GB prior to reading.
Option #3
Use a 64-bit client.