ポリシー 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 は、イベント・アダプターまたはイベント・アダプター・セットの名前です。