Chapter 4 Managing Profiles


Custom check properties

When you create custom checks you have to define the following general properties:

Parameters Description
Name Name of the custom check. This name is displayed under the selected object category in the Check Model Parameters dialog box. This name is also used (concatenated) in the check function name to uniquely identify it
Comment Additional information about the custom check
Help Message Text displayed in the message box that is displayed when the user selects Help in the custom check context menu in the Check Model Parameters dialog box
Output message Text displayed in the Output window during check execution
Default severity Allows you to define if the custom check is an error (major problem in the model syntax) or a warning (minor problem or just recommendation)
Execute the check by default Allows you to make sure that this custom check is selected by default in the Check Model Parameters dialog box
Enable automatic correction Allows you to authorize automatic correction for the custom check
Execute the automatic correction by default Allows you to make sure that automatic correction for this custom check is executed by default

The Check Script tab is used to define the body of the custom check function.

The Autofix Script tab is used to define the body of the autofix function.

The Global Script tab is used for sharing library functions and static attributes in the resource file.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.