Neoview Workload Management Services Guide (R2.4)

INFO RULE Command
The INFO RULE command returns information about a specific rule or all rules.
NOTE: Only administrators are permitted to run this command. By default, an administrator
is ROLE.DBA or the super ID (super.services or super.super).
Syntax
INFO RULE [ { rule-name | ALL } ]
rule-name
is the name of a user-defined rule. rule-name must exist in the WMS configuration. The
rule name is not case-sensitive and is always converted to uppercase. WMS supports multibyte
characters in the rule name. For guidelines on using multibyte character sets, see the Neoview
Character Sets Administrator's Guide.
Considerations
The INFO RULE command returns this information about rules in WMS:
Table A-2 INFO RULE Output Information
DescriptionData TypeColumn Name
CONN, COMP, or EXECVARCHAR(4)TYPE
Name of the ruleVARCHAR(96)NAME
AND, ORVARCHAR(3)OPER
Relative priority of the expression to other expressions
in the rule
INTEXPR_PRTY
External form of the rule expressionVARCHAR(128)EXPR
LOW, MEDIUM, HIGH, NO-WARNVARCHAR(8)WARN_LEVEL
HOLD, REJECT, CANCEL, or the SQL string to executeVARCHAR(1024)ACT
Comment stringVARCHAR(256)COMMENT
Examples
This command displays information about the rule COMPRULE1:
INFO RULE COMPRULE1;
This command displays information about all the rules in WMS:
INFO RULE ALL;
INFO RULE Command 115