Consultor Eletrônico



Kbase 20348: Import UNFORMATTED doesn't read last line of data file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/26/2009
Status: Verified

SYMPTOM(s):

When using import from file the last line is not read

The last line of an "import unformatted" statement is not read.

The rest of the data is imported correctly.

FACT(s) (Environment):

Progress 8.x
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

Trailing carriage return missing at the end of UNFORMATTED field.
Progress will not read the last line of a file, using the "import unformatted" statement, if a trailing carriage return is missing.

FIX:

Add an empty line at the end of the file.