Neoview Workload Management Services Guide (R2.4)
NS%
CAUTION: When altering an attribute of the compilation rule, you must also specify any existing
expressions in the ALTER RULE COMP command. Otherwise, the ALTER RULE COMP command
deletes the existing expressions.
For the syntax, see the “ALTER RULE COMP Command” (page 94). Also see “How to Execute
WMS Commands in NCI” (page 25).
Deleting a Compilation Rule
Use the DELETE RULE command to delete a rule. After you delete a rule, all associations with
services using the rule are deleted. This DELETE RULE command removes the compilation rule
named COMPRULE30 from the WMS configuration:
NS%DELETE RULE COMPRULE30;
--- WMS operation complete.
NS%
For the syntax, see the “DELETE RULE Command” (page 111). Also see “How to Execute WMS
Commands in NCI” (page 25).
Associating Compilation Rules With a Service
Use the ALTER SERVICE COMP command to associate one or more compilation rules with a
service.
In this example, the ALTER SERVICE COMP command associates the compilation rules,
COMPRULE1, COMPRULE2, and COMPRULE3, with SERVICE1:
NS%ALTER SERVICE SERVICE1 COMP (COMPRULE1, COMPRULE2, COMPRULE3);
--- WMS operation complete.
%NS
For the syntax, see the “ALTER SERVICE COMP Command” (page 104).
Displaying the Compilation Rules Associated With a Service
Use the STATUS SERVICE COMP command to display the names of compilation rules that are
associated with the specified service.
This STATUS SERVICE COMP command displays the names of the compilation rules that are
associated with SERVICE1:
NS%status service service1 comp;
TYPE RULE_NAME SERVICE_NAME
---- ----------------------------------- --------------------
COMP COMPRULE1 SERVICE1
COMP COMPRULE2 SERVICE1
COMP COMPRULE3 SERVICE1
--- WMS operation complete.
NS%
For the syntax, see the “STATUS SERVICE COMP Command” (page 144).
Compilation Rules 57