Updating the default DataCapture policy

Update the default DataCapture policy by using the mqsireportpolicy command to copy the content of the existing policy to a file, edit the file to change the properties that you want to modify, and then use the mqsichangepolicy command to update the policy with the modified properties.

Before you begin

Read the following topics:

About this task

The default DataCapture policy specifies information to be used by the business transaction definition, such as the database location where the business data is stored. You set the database location by specifying the data source name in the Configure tab of the business transaction monitor when you create the business transaction definition; the default DataCapture policy is updated with the new data source name as a result.

It is not necessary to make any other changes to the default DataCapture policy; however, if you want to change any properties in the policy, you can modify it by completing the following steps:

Procedure

  1. Use the mqsireportpolicy command to write the contents of the DataCapture policy to a file.
    For example, use the following command to write the contents of the default DataCapture policy to a file called DataCapturePolicyDocument.xml:
    mqsireportpolicy IBNODE -t DataCapture -l default -f DataCapturePolicyDocument.xml
  2. Use a text editor to edit the DataCapturePolicyDocument.xml file and save it when you have changed the properties that you want to modify.
  3. Use the mqsichangepolicy command to update the default DataCapture policy with the changes that you made in the previous step.
    For example, use the following command to 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
    The updated default DataCapture policy will be used for business transaction monitoring.