mqsichangepolicy command
Use the mqsichangepolicy command to change an existing operational policy.
Sample policy
A sample workload management policy
XML file is provided at the following location:
For more policy document examples see the following topics:
Syntax
Parameters
- integrationNodeSpec
- (Required) You must specify at least one parameter to identify the target integration node for this command, in one of the following forms:
- -f policyDocument
- The file that contains the policy document.
- -l policyName
- The name of the policy to change.
- -t policyType
- The type of policy to change. The valid options are: DataCapture, MQEndpoint, MQTTPublish, MQTTSubscribe, and WorkloadManagement.
Examples
Update the MQEndpoint policy named QMGR4 for
integration node IBNODE so that it contains the
contents of the file QMGR4Policy.xml:
mqsichangepolicy IBNODE -t MQEndpoint -l QMGR4 -f QMGR4Policy.xml
Update the default
DataCapture policy with the properties that are specified in the DataCapturePolicyDocument.xml file:
mqsichangepolicy IBNODE -t DataCapture -l default -f DataCapturePolicyDocument.xml