Creating and deleting custom rules
You can create or delete custom rules.
COBOL custom rule templates
Use the COBOL custom rule templates to create custom rules for COBOL code reviews.
PL/I custom rule templates
Use the PL/I custom rule templates to create custom rules for PL/I code reviews.
Related concepts
:
Custom categories and rules
Creating a custom rule
About this task
You create custom rules from templates. For a description of the available templates, see the following links.
COBOL custom rule templates
PL/I custom rule templates
Procedure
To open the
Custom Rules and Categories
page of the
Preferences
, click
Windows
>
Preferences
>
Software Analyzer
>
Custom Rules and Categories
.
Click
Add Rule
.
The
Add Custom Rule
wizard opens
Select the category to which you want to add a rule and click
Next
.
Select the template for the custom rule and click
Next
.
Set values for the parameters and click
Finish
.
For more information about parameters for each template, see the template descriptions.
Related concepts
:
Custom categories and rules
Deleting a custom rule
Procedure
To delete a custom rule on the
Custom Rules and Categories
preference page, select the rule and click
Delete Rule
.
Related concepts
:
Custom categories and rules
Feedback