To prevent SourceSafe database corruption it is essential that no-one is logged onto SourceSafe when the 'Analyze' utility
is running in one of it's repair modes.
This script forcibly terminates any open user sessions before running 'Analyze'
and restores user access to the database after 'Analyze' has completed.
The script can be set up to run batch file genstats.bat to obtain database
control counts before and after the 'Analyze' run.
It also reports database files open before the start of the repair.