Invalidating a source file restores it to its state before it was verified, deleting the object model the parser created for the file.
COBOL Analyzer automatically invalidates previously verified files when you reverify them.
When reverifying sources in the repository, all selected objects are invalidated prior to being verified. When the reverification
is cancelled, all selected objects that were not verified, are invalidated.
You can save time reverifying very large applications by invalidating some or all of the source files in them before you reverify.
You can invalidate:
- The entire workspace in the
COBOL Analyzer Administration tool. Choose
Administer > Invalidate Workspace. The Select workspace dialog opens, where you can select the workspace you want to invalidate.
- Selected projects, folders, or files in the
COBOL Analyzer Repository pane. Select the items you want to invalidate and choose
File > Invalidate Selected Objects.
Invalidated files are displayed in
bold type in the Repository pane.
Note: To improve performance when reverifying objects in the repository, all selected objects will be invalidated prior to being
verified. When the reverification is cancelled, all selected objects that were not verified will be invalidated.
Note: To prevent the database transaction log from filling up during the invalidation of a large number of files, commits to the
database are made regularly rather than waiting until the completion of the invalidation process.
Note: Invalidating an entire workspace is significantly faster than invalidating projects, folders, or files.
You must be a master user to invalidate source files.
The invalidate workspace process opens several console windows displaying the progress of component tasks. Close these windows
manually when invalidation is complete.