Importing Rule Sets into the IDE

Visual COBOL comes with a set of predefined rules and rule sets for a number of code analysis queries to run on COBOL applications. In addition to these, Visual COBOL provides an import mechanism to enable you to add more rules and rule sets into the IDE.

Note: In addition to the rules supplied with the installation, you can import more rules and rule sets into Visual COBOL. Micro Focus Enterprise Analyzer includes many more standard rules which you can reuse within the Visual COBOL and this gives you the option to be able to customize these to create your own site-specific analyst functions which you can then publish out to your development teams. Contact Micro Focus for further information.

To import new rules and rule sets into the IDE:

  1. Copy the .xml files that contain the new rules into a directory on your machine.
  2. In the IDE, click Analyze > Micro Focus Code Analysis Manager.
  3. Click Browse next to Folder for additional rules definition files.
  4. Navigate to and select the directory that contains the .xml files with the new rules you want to import, then click Select Folder.
  5. Click Update to load the new rules and rule sets into the Code Analysis Manager.
  6. Click OK to close the Code Analysis Manager.