Editing a service class's classification rules
A service class's classification rules identify the CICS transactions associated
with a particular service class. To add classification rules to a new service
class, complete these steps:
- Within the Service Classes window, select the service class whose classification
rules you want to define, and click Edit Rule .
The
Rule Editor window is displayed.
Figure 11. The Rule Editor window for assigning a new service class's classification rules
- Right-click the Rule entry in the left pane, and
select one of the following transaction-selection criteria from the menu:
- TranID
- You are including transactions in this service class based on their
transaction names.
- LUname
- You are including transactions in this service class based on the VTAM
terminal that invoked them.
- UserID
- You are including transactions in this service class based on the user
ID associated with them.
- CICSname
- You are including transactions in this service class based on the CICS
region that is running them.
Figure 12. The Rule action menu
- Within the Input window, list the CICS transactions, VTAM terminal IDs
(that is, LU names), userIDs, or CICS region names you want to assign to this
service class:
Figure 13. The Input window where you define the test strings for a criterion
To specify multiple test strings for the same criterion, separate
them with commas. You can specify an asterisk as a wildcard character that
matches zero, one, or more occurrences of random characters; thus, CICSname
= '*SR' means the rule applies to all CICS regions whose name ends in
"SR". Similarly, UserID = 'T*R,GR*' means the rule applies to all
userIDs that begin with "T" and end with "R" plus all userIDs that begin with
"GR".
When finished specifying the test strings to assign to this criterion,
press the OK button.
- To add an additional criterion to your rule, right-click the Rule entry or the existing selection criterion you want to apply it to,
and select the new criterion type.
- If you right-click Rule, the new criterion is added
to the existing criterion as an OR condition. It is appended to the Rule Editor's
tree view at the same level as the existing criteria.
- If you right-click an existing criterion, the new criterion is appended
to the existing criterion as an AND condition. It is added to the Rule Editor's
tree view subsidiary to the criterion you selected.
- When you have finished defining the rules for this service class, click Save.
Note:
A service class is not completely defined until you assign
its classification rules. The Save button remains grayed
out until you complete this step.
To edit a service class's existing classification rules, complete these
steps:
- Within the Service Classes window, select the service class whose classification
rules you want to update, and click Edit Rule.
The
Rule Editor window is displayed and shows the service class's existing classification
rules.
Figure 15. The Rule Editor window for editing a service class's existing classification rules
- In this window, you can add a new criterion, update the test strings assigned
to an existing criterion, or delete a criterion.
- To add a new criterion to the existing rule, right-click the Rule entry or the existing selection criterion you want to apply it to,
and select the new criterion type. Within the New value window, list the CICS
transactions, VTAM terminal IDs (that is, LU names), userIDs, or CICS region
names you want this criterion tested against. Specify the test strings as
previously noted.
Figure 16. The New value window
As before, if you add the new criterion at the same level as other
criteria, it is an OR condition, whereas if you add it at the subsidiary level,
it is an AND condition.
- To edit an existing criterion, select it in the left pane of the Edit
Rule window. Using the right pane, you can either append a new test string
to those already present, edit an existing test string, or delete an existing
test string:
- To add a new test string, click Add in the right
pane.
The New value window is displayed. Enter one or more additional test
strings, including the wildcard character "*" if needed and separated by commas
and click OK.
- To edit one of the criterion's existing test strings, select it in the
right pane, and click Edit.
The Edit window is displayed.
Using standard Windows editing operations (left, right, Delete, Insert, Home,
End, block delete, block replace), edit the test string as appropriate. You
can also append additional test strings by inserting a comma at the end of
the current string and then keying it in.
Figure 17. The Edit window for editing a criterion's test string
Click OK .
- To delete one of the criterion's test strings, select it in the right
pane, and click Delete.
- To delete a criterion, right-click it, and select Delete (see Figure 14). Deleting a criterion also deletes all
criteria subsidiary to it (in other words, those appended to it as AND conditions).
- When you have finished updating the rule for this service class, click Save in the Rule Editor window.
After you have defined the appropriate classification rules for your service
classes, your next step is usually to define one or more service policies
for your CICS environment and to activate one of them; see Adding or editing a service policy and activating a service policy.