James H. H. Lampert wrote:
I'm guessing, from the lack of response to my question about
resetting the error status without reopening the file, that I'm
stuck with a reopen.

Yep. I was just slow to reply :-)

Turned out that wasn't as painful as I'd feared (if anything,
less painful than doing it in RPG!), and I've now got it working.
For some reason, the total number of records isn't showing up,
but I'm sure I can fix that.

The open of a VIEW is a query for which a row count is not really established; for an *ALLIO implementation or implementation with a temporary file, the row count may be available. Even with the DDS LF the count is not legitimate, as only reading every record and counting them can be trusted; i.e. rows may be added or deleted [without something like LOCK EXCLUSIVE preventing concurrent I\O].

Regards, Chuck

This thread ...


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

This mailing list archive is Copyright 1997-2020 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].