Skip to main content

Problem:

Is there an easy way to count the number of records in an indexed file?

Resolution:

Use rebuild with the "/n" option to read the header of the indexed file and return information on the file which will include the numbert of records.

e.g. rebuild /f file.dat

Old KB# 1233

#AcuCobol
#ServerExpress
#RMCOBOL
#COBOL
#netexpress