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:
- Within the Service Classes window, select the service class whose classification
rules you want to define, and press the Edit Rule button.
The Rule Editor pop-up window opens:
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 transaction-selection criteria from the pop-up 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 pop-up action menu
- Within the Input pop-up window, list the CICS transactions,
VTAM terminal IDs (that is, LU names), userIDs, or CICS region names you to
assign to this service class:
Figure 13. The pop-up 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 on either Rule or the existing selection criterion you want to apply
it to, and select the new criterion type.
- If you right-click on Rule, the new criterion is
added to the existing criterion as an OR condition. It is appended to the
Rule Editor's tree at the same level as the existing criteria.
- If you right-click on 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 subsidiary to the criterion you selected.
- When you have finished defining the rules for this service class, press
the Rule Editor window's Save button.
Note:
A service class is not completely defined until you assign
its classification rules. The Save button remains grayed
out (in other words, you cannot save a new service class) until you complete
this step.
To edit a service class's existing classification rules:
- Within the Service Classes window, select the service class whose classification
rules you want to update, and press the Edit Rule button.
The Rule Editor pop-up window opens showing the service
class's existing classification rules:
Figure 15. The Rule Editor window for editing a service class's existing classification rules
- Here 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 on either Rule or the existing selection criterion you want to apply
it to, and select the new criterion type. Within the New
value pop-up 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 described above.
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, press the right pane's Add button.
The New Value pop-up window opens. Here you enter one or more
additional test strings, including the wildcard character "*" if needed and
separated by commas.
When finished, press the OK button.
- To edit one of the criterion's existing test strings, select it in the
right pane, and press the Edit button.
The Edit pop-up window opens. 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
When finished, press the OK button.
- To delete one of the criterion's test strings, select it in the right
pane, and press the Delete button.
- To delete a criterion, right-click on it, and select Delete from the pop-up menu (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, press
the Rule Editor window's Save button.
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.