IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

mqsideploy command - z/OS

Use the mqsideploy command on z/OS® to make a deployment request to a local broker.

Syntax

z/OS command - BIPDPLY

Read syntax diagramSkip visual syntax diagram
>>-mqsideploy--| brokerSpec |----------------------------------->

>-- -e --integrationServerName--+- -a --BARFileName--+------+-+-->
                                |                    '- -m -' |   
                                '- -d --deployedObjects-------'   

>--+-------------------+--+---------------------+--------------><
   '- -w --timeoutSecs-'  '- -v --traceFileName-'   

brokerSpec

|--+- brokerName ----------------+------------------------------|
   +- -n --brokerFileName--------+   
   | .-------------------------. |   
   | V                         | |   
   '-----+- -i --ipAddress-+---+-'   
         +- -p --port------+         
         '- -q --qMgr------'         

z/OS console command

Synonym: dp

Read syntax diagramSkip visual syntax diagram
>>-+-deploy-+--------------------------------------------------->
   '-dp ----'   

>-- e=integrationServerName --+- a=BARFileName --+---------+-+-->
                              |                  '- m=yes -' |   
                              '- d=deployedObjects ----------'   

>--+------------------+--+-------------------+-----------------><
   '- w=timeoutValue -'  '- v=traceFileName -'   

Parameters

brokerSpec
You must specify at least one parameter to identify the target broker for this command, in one of the following forms:
brokerName
This parameter identifies the name of a locally defined broker.
-n brokerFileName
This parameter identifies the name of a file that contains the connection details for a local broker.

Use this option if multiple users want to connect to the same broker, or if you are using advanced connection parameters such as SSL.

To create this file, right-click the broker in the IBM® Integration Explorer and select Export *.broker file. When prompted, navigate to the location in which you want to save the file and enter the file name; the extension .broker is appended automatically when you click Save. Include the location (path) and file name when you specify this parameter. You must ensure that the location is accessible when you run this command.

If you want to run a command that uses SSL to administer a remote broker over a secured channel, you must specify the keystore and truststore password for the connection using the IBM_JAVA_OPTIONS environment variable. See Resolving problems when running commands for further information.

-i ipAddress, -p port, -q qMgr
These parameters identify the connection details for the broker. If you specify a queue manager, it must be defined on the local computer.

If you choose this option, you must specify at least one of these three parameters; the order in which you specify them is irrelevant. You cannot specify each parameter more than once.

Parameters that you omit assume default values:

  • -i ipAddress: The host name or the IP address of the computer on which the broker is running. If you do not specify this parameter, a value that represents the local computer is used.
  • -p port: The TCP port on which the broker's queue manager is listening. If you do not specify this parameter, the value 1414 is used.
  • -q qMgr: The name of the broker's queue manager. If you do not specify this parameter, a value that represents the default queue manager on the local computer is used.
You cannot connect to a remote queue manager on z/OS; see Usage note.
-a BARFileName
(Optional) This parameter specifies the name of the broker archive (BAR) file that is to be used for deployment of the message flow and other resources. You must also specify the -e parameter with this option.

The BAR file can be in a local or remote file system, if the user ID or the broker that is running the command can access the file and read it.

-d deployedObjects
(Optional) This parameter describes the set of objects that you want to remove from the integration server. You can specify multiple files to delete by separating the filenames with a colon (:).

You can specify objects of all types, but if you specify an ambiguous object name (for example, "top", when both "top.dictionary" and "top.cmf" are deployed to the same integration server), the entire command fails with the message BIP1089. In these circumstances, you must specify the fully qualified name of the objects to remove; for example, "top.dictionary:top.cmf".

-e integrationServerName
(Optional) This parameter specifies the name of the integration server to which to deploy. You must also specify the -a parameter with this option.
-m
(Optional) This parameter specifies deployment of complete information:

The default operation is a delta or incremental deployment. Use the -m parameter to override the default operation and run a complete deployment.

  • For a BAR file deployment, -m removes all currently-deployed message flows and message sets from the integration server as part of the deployment. If you do not set -m, the contents of the BAR file are deployed in addition to what is already deployed to the integration server. Any deployed objects with the same name as an item inside the BAR file are replaced by the version inside the BAR file.
  • For a remove message flow or message set operation, the -m parameter is ignored.
-v traceFileName
(Optional) This parameter sends internal debug trace information to the specified file.
-w timeoutSecs
(Optional) This parameter specifies the maximum time in seconds that the command waits for the broker to complete the request before returning.

You can set this parameter to a value in the range 1 - 2 145 336 164. If you do not provide a timeoutValue value, or you set a value less than 1 or greater than 2 145 336 164 is specified, an error is returned.

Set this parameter to a value greater than the sum of the configuration timeout parameters ConfigurationChangeTimeout and InternalConfigurationTimeout that you specified for the broker, if you want to ensure that a response is received within the timeoutValue period. If you set a smaller value, the response returned might indicate that the state of the deploy request is unknown.

Usage note

If you try to connect to a remote broker by specifying the i, p, and q parameters, or by using a connection parameter file (.broker), the command attempts to use WebSphere® MQ Java™ client code. This option is not supported on z/OS, and returns the following error:

BIP1046E: Unable to connect with the broker (name)

The reported reason code is MQRC_ENVIRONMENT_ERROR. You must specify a local queue manager.

Examples

The following examples show the use of the -n parameter to define the connection parameters for the broker. If the broker is on the local computer, you can specify it by name.

Deploy a BAR file to the broker identified by the connection parameters in the file b1.broker, and remove all deployed message flows and message sets from the integration server as part of the deployment. Allow 10 minutes for the broker to reply.
mqsideploy -n broker1.broker -e default -a mybar.bar -m -w 600 
Remove the message flow top and the dictionary bar from the integration server default on the broker identified by the connection parameters in the file b1.broker.
mqsideploy –n b1.broker –e default –d top.cmf:bar.dictionary
Deploy a BAR file by using the console command:
F MQ01BRK,dp e=default,a=flows.bar

an28530_.htm | Last updated Friday, 21 July 2017