Resetting Internal Revision Number

This option resets the internal revision number of all segments in the specified Vision file to the revision number of the first data segment. It does this without rebuilding the entire file. To use this option, you must have exclusive access to the file. The command is:

vutil  -fixvers  [ -q ]  [ file ]

The files can be listed on the command line, or can be read from the standard input. For convenience in building scripts, non-Vision files are ignored.

This option can be used to repair 98, 89 and 98, 90 conditions that can result from improper shutdowns of a runtime or improper closure of a file. Before using this option, you should be certain that the file is otherwise internally correct, meaning that the data is not corrupted. Improper use may lead to loss of data. After using the fixvers option, you should run vutil  -check  -f  file to verify internal consistency of the file. See Testing File Integrity for more information.

-q This option causes vutil to exit (with status 99) if user interaction is required.