List,

I am having a problem understanding %Status for a file.

The test file (IPXB00) has 3 records (keyed by seq#s 1, 2, and 3) and 1
record format (IPXB00R).

After having read record #3, debugging shows that %Status for the file is
'11', as I expected     .
Debugging also shows that I have retrieved rec# 3. 
My mental image of where the file pointer (^) is:
        Record 1 :  Record 2 : Record 3: (^)

The program then executes the following statement:
ReadP(EN) IpXB00R IpXB00I;
Debugging shows that I have re-retrieved rec# 3, as I expected.    
My mental image of where the file pointer (^) should be is:
        Record 1 :  Record 2 :(^) Record 3: 

At this point I would have thought that the %Status would no longer = '11'
(indicating EOF),
but debugging (1 line at a time) shows that it is still '11'.

I'm confused and any enlightenment would be greatly appreciated.


TIA

Tim Kredlo
Exterior Wood, Inc




This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.