mqsiapplybaroverride command

Use the mqsiapplybaroverride command to replace configurable values in the broker archive (BAR) deployment descriptor with new values that you specify in a properties file.

Supported platforms

  • Windows®
  • Linux® on x86

Purpose

Write scripts to create broker archive files and apply different override values in the broker deployment descriptor archive file by using the mqsiapplybaroverride command, together with the mqsicreatebar command.

Syntax

Parameters

-b BarFile
(Required) The path to the broker archive file (in compressed format) to which the override values apply. The path can be absolute or relative to the executable command.
-p PropertiesFile
(Required) The path to the properties file (absolute, or relative to the executable command) that contains override values.

Authorization

On Windows, the user ID used to invoke this command must have Administrator authority on the local system. On Linux, your user ID must have write access to the –data (workspace) and –b (BAR file location) directories.

Responses

Windows platform This command is supplied as a batch file. If you run the command in an automation system or from a script, use the Windows CALL command, to ensure that the correct ERRORLEVEL is returned:
...
CALL mqsiapplybaroverride
...

Examples

Open the BAR file myflow.bar, and replace configurable values in its deployment descriptor (typically broker.xml) with those specified in the properties file mychanges.properties:
mqsiapplybaroverride -b myflow.bar -p mychanges.properties 

For an example of the details that are contained in a properties file, see Editing configurable properties.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:22:37

an19545_