Tip of the day - Failed IMPORT

Jerry Rains j.rains at allamericanmoving.com
Fri Jun 17 11:28:08 PDT 2005



Nancy Palmquist wrote:
> Jerry Rains wrote:
> 
>> I learned something today.
>>
>> If you have a one line file that you are trying to IMPORT and there is 
>> no LineFeed on the end the IMPORT will fail.
>>
>> By the same token.  I assume that if you have a multi-line file and 
>> there is no LineFeed on the last line you will prematurely finish the 
>> IMPORT without importing the last line.
>>
>> Something to watch out for.
>>
>> Jerry Rains
>> Director, Information Technology
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>>
> Jerry,
> 
> This makes sense if you told it to look for a end-of-record marker and 
> it was not there.  If you use other techniques to read the file or 
> change the options for IMPORT it might not be an issue.
> 
> Nancy
> 
True, I was using   IMPORT ASCII pcm3=/tmp/pcm3.$PID f=~ r=\n

Jerry



More information about the Filepro-list mailing list