IBM Support

Sterling Control Center runBatch.sh script not working for new template

Troubleshooting


Problem

Attempts to create new rules with RunBatch.sh based on own templates fails to work with error CRUL008E. The full error seen is: Error performing Rule creation ... com.sterlingcommerce.scc.common.RuleException: CRUL008E Rule Creation failed., CRUL001E Invalid Rule, missing element: match, Rule:

Symptom

RunBatch.sh is being given the following rule template to generate rules from (the actual values for the variables are passed from an answer file, and are not strictly relevant to this issue, thus are intentionally omitted here):

<?xml version="1.0" encoding="UTF-8"?>
<rule>
<actionId>&actionid;</actionId>
<desc>&desc;</desc>
<enabled>&enabled;</enabled>
<id>&id;</id>
<match>&quot;/event[FG.EVENT_CODE = &apos;&messageid;&apos;]&quot;</match>
<relative_priority>&rpriority;</relative_priority>
<linkedRule>
<enabled>&lnkenabled;</enabled>
<nonResolutionActionId>&ractionid;</nonResolutionActionId>
<resolutionActionId>&ractionid;</resolutionActionId>
<resolutionTimeout>&timeout;</resolutionTimeout>
</linkedRule>
<effectiveMatch>&quot;/event[FG.EVENT_CODE = &apos;&messageid;&apos;]&quot;</effectiveMatch>
<priority>&priority;</priority>
</rule>

[{"Product":{"code":"SS9GLA","label":"IBM Control Center"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.4;5.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 December 2019

UID

swg21681596