Policy XML element name and attribute values
Policy XML element names and attributes are listed, together with valid values. The assigned values for policy XML element names and attributes depends on the policy rule and action types.
XML parameter values
rule_type 1 | condition_type 2 | rule_item 3 | unit 4 | value 5 | action_type 6 |
---|---|---|---|---|---|
databaserequest |
databaseRequestCondition |
sqlcommand |
"" (no value) or K |
|
abend |
filerequest |
fileRequestCondition |
delete |
"" (no value) or K |
These value ranges for requests or thousand requests apply to all filerequest policy rule items. |
abend |
programrequest |
programRequestCondition |
link |
"" (no value) or K |
|
abend |
startrequest |
startRequestCondition |
start |
"" (no value) or K |
|
abend |
storage |
storageUsedCondition |
task24 |
B, K, M, or G |
24-bit rule items:
|
abend |
storagerequest |
storageRequestCondition |
task24request |
"" (no value) or K |
These value ranges for requests or thousand requests apply to all storagerequest policy rule items. |
abend |
syncpointrequest |
syncpointRequestCondition |
syncpoint |
"" (no value) or K |
|
abend |
tdqrequest |
tdqRequestCondition |
readq |
"" (no value) or K |
These value ranges for requests or thousand requests apply to all tdqrequest policy rule items. |
abend |
time |
timeCondition |
cpulimit |
O, M, or S |
|
abend |
tsqbytes |
tsqBytesCondition |
writeq |
B, K, M, or G |
All tsqbytes policy rule items have the same value ranges. |
abend |
tsqrequest |
tsqRequestCondition |
readq |
"" (no value) or K |
These value ranges for requests or thousand requests apply to all tsqrequest policy rule items. |
abend |
XML policy skeleton
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>description_of_policy</description>
<userTag>tag_1</userTag>
<rule type="rule_type" 1 >
<name>name_of_rule</name>
<description>description_of_rule</description>
<condition_type 2 item="rule_item" 3 operator="GT" unit="unit" 4 value="value" 5 />
<action>
<action_type 6 />
</action>
</rule>
</policy:policy>
- The value of condition_type 2 depends on the value of rule_type 1 .
- The valid values for rule_item 3 and unit 4 depend on the value of condition_type 2 .
- You can specify only one action_type 6 value for each policy rule, but all three action types are valid for all rule types.
- If action_type 6 is
abend, and you want the policy to issue a custom abend code, the next
statement must be as follows, where code is the
value of your abend code:
<abend abendCode="code"/>
- If the action_type 6 is
event, the next statement must be one of the following, depending
on whether you want the event to be issued to an event adapter or
an event adapter set, where name is the name of
the event adapter or event adapter set, as appropriate:
<eventAdapterName>name</eventAdapterName>
<eventAdapterSetName>name</eventAdapterSetName>