import on bad data file

Fairlight fairlite at fairlite.com
Thu Jul 24 11:11:30 PDT 2008


This public service announcement was brought to you by Scott Nelson:
> I have found a problem with an import on a file downloaded from fedex.  
> Seems their system does not put an end of record marker on the last 
> record in the file.  I am using import ascii filename r=\n f=\n since I 
> want the entire record as one field for my own parsing.  The import is 
> not getting the last record since the marker is missing. 
> 
> Anyone have this happen, or do fedex invoice downloads, or have an idea 
> on how to make import get the last record?

echo >> fedex_file
...Then import as normal.

mark->
-- 
"Moral cowardice will surely be written as the cause on the death
certificate of what used to be Western Civilization." --James P. Hogan


More information about the Filepro-list mailing list