指派給原則 XML 元素名稱及屬性的值,會視原則規則和動作類型而不同。
rule_type 1 | condition_type 2 | rule_item 3 | unit 4 | action_type 5 |
---|---|---|---|---|
databaserequest |
databaseRequestCondition |
sqlcommand |
""(無值)或 K |
abend |
filerequest |
fileRequestCondition |
delete |
""(無值)或 K |
|
programrequest |
programRequestCondition |
link |
""(無值)或 K |
|
storage |
storageUsedCondition |
task24 |
""(無值)或 B、K、M 或 G |
|
storagerequest |
storageRequestCondition |
task24request |
""(無值)或 K |
|
time |
timeCondition |
cpulimit |
""(無值)或 O、M 或 S |
<?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="0"/>
<action>
<action_type 5 />
</action>
</rule>
</policy:policy>
<abend abendCode="code"/>
其中 code 是異常終止碼的值。<eventAdapterName>name</eventAdapterName>
或<eventAdapterSetName>name</eventAdapterSetName>
視您要將事件發出至事件配接器還是事件配接器集而定,其中 name 是事件配接器或事件配接器集(視情況)的名稱。