I am writing a balancing/checksum program, and there is an account file (PF)
with a date field. I want a count of all records where this date field isn't
*LOVAL. I could simply create an LF, then read and count the records, but I
notice that, once I create the LF, I can DSPFD it, and get the 'Number of
index entries' from the display. So I want my program to use an API to get
this info, and avoid any File I/O.
I looked at QUSRMBRD, and I see the Current number of records field in the
MBRD0200 format, but this is not what I am looking for. Has anybody else
accomplished this, perhaps with a different API?