정책 XML 요소 이름 및 속성 값

정책 XML 요소 이름 및 속성의 지정된 값은 정책 규칙과 조치 유형에 따라 다릅니다.

XML 매개변수값

다음 표에는 정책 XML 요소 이름 및 속성과 CICS Explorer® 정책 마법사의 해당 드롭 다운 목록에서 선택되는 가능한 값이 나열됩니다. 예제는 정책 XML 스켈레톤을 보여줍니다.
표 1. XML 값 상호 참조
rule_type 1  condition_type 2  rule_item 3  단위 4  action_type 5 

databaserequest

databaseRequestCondition

sqlcommand

""(값 없음) 또는 K

이상 종료
이벤트
메시지

filerequest

fileRequestCondition

delete
read
readnext
readprev
readupdate
rewrite
startbr
write

""(값 없음) 또는 K

programrequest

programRequestCondition

link

""(값 없음) 또는 K

storage

storageUsedCondition

task24
task31
task64
shared24
shared31
shared64

""(값 없음), B, K, M 또는 G

storagerequest

storageRequestCondition

task24request
task31request
task64request
shared24request
shared31request
shared64request

""(값 없음) 또는 K

time

timeCondition

cpulimit

""(값 없음), O, M 또는 S

XML 정책 스켈레톤

다음 예제는 정책에 대한 XML 스켈레톤을 나열합니다. 표와 참고에 나열된 필드가 표시됩니다.
<?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>
참고:
  • condition_type 2 의 값은 rule_type 1 의 값에 따라 다릅니다.
  • rule_item 3 unit 4 의 올바른 값은 condition_type 2 의 값에 따라 다릅니다.
  • action_type 5  값은 정책 규칙별로 하나만 지정할 수 있지만 모든 규칙 유형에 세 가지 어느 조치 유형이나 유효합니다.
  • action_type 5 가 "abend"이고 정책이 사용자 정의 이상 종료 코드를 발행하도록 하려는 경우 다음 명령문은 아래와 같아야 합니다.
    <abend abendCode="code"/>
    여기서 code는 이상 종료 코드의 값입니다.
  • action_type 5 가 "event"인 경우 다음 명령문은 아래의 둘 중 하나여야 합니다.
    <eventAdapterName>name</eventAdapterName>
    또는
    <eventAdapterSetName>name</eventAdapterSetName>
    이벤트 어댑터나 이벤트 어댑터 세트에 이벤트를 발행할지 여부와 명령문에서 name이 이벤트 어댑터나 이벤트 어댑터 세트의 이름인지 여부에 따라 다릅니다.