You can check the internal consistency of an RMSfile with toolkit as follows:
Start toolkit on your database:
c:\> toolkit dbname
Select 1 - Data Files Menu from the Toolkit Development Menu.
Select M3 - Check Data File Consistency from the Data Files Menu.
Enter the logical RMSfile name and press STORE <F5> to check the RMSfile or CANCEL <F1>-X to leave without checking the RMSfile.
You can check the consistency of an RMSfile with the following command:
c:\> rmsck lfname
Lfname is the logical name of the RMSfile.
If rmsck finds errors, it asks you if you want rmsck to fix the errors.
You can check all the RMSfiles in a database with:
c:\> rmsck -b dbname
and you can check the RMSfiles in all databases with:
c:\> rmsck -a