mqsistop command

Supported platforms

  • Windows
  • Linux and UNIX systems
  • z/OS

Purpose

Use the mqsistop command to stop a WebSphere Business Integration Message Broker component. On z/OS, the controller must be running.

Syntax

Windows platforms, Linux, and UNIX systems

z/OS

Synonym: pc

Parameters

component
Start of change(Required - Windows, Linux, and UNIX systems) This must be either a broker name, or one of the following fixed values:
  • ConfigMgr or UserNameServer on Windows platforms
  • UserNameServer on Linux and UNIX systems
All the names are case sensitive on Linux and UNIX systems.End of change
-q
(Optional - Windows, Linux, and UNIX systems only) Stop the WebSphere MQ queue manager associated with this WebSphere Business Integration Message Broker component.

Specify this flag only if the WebSphere Business Integration Message Broker component is the last (or only) WebSphere Business Integration Message Broker component active on this queue manager. This command initiates a controlled shutdown of the queue manager, and informs other users of the queue manager that it is closing.

If you do not stop other WebSphere Business Integration Message Broker components that use this queue manager before you issue this command with this option, stop them afterwards or restart the queue manager.

If you use this option, be aware that any listeners associated with this queue manager are not stopped with the queue manager. Stop these manually after issuing this command.

-i
(Optional) Immediately stop the broker.

Specify this flag only if invoking the command without it, has failed to stop the broker.

On z/OS this flag fails if a previous stop command has failed to complete.

Authorization

On Windows platforms, the user ID used to invoke this command must belong to the Administrators group.

The security requirements for using this command are summarized in Security requirements for Windows platforms and Security requirements for Linux and UNIX platforms.

Responses

Windows, Linux, and UNIX systems only:
  • BIP8012 Unable to connect to system components
  • BIP8013 Component does not exist
  • BIP8016 Component cannot be stopped
  • BIP8019 Component stopped
  • BIP8030 Unable to modify user privileges
  • BIP8049 Unable to stop queue manager
  • BIP8093 Queue manager being created
  • BIP8094 Queue manager stopping

Examples

Start of change
Windows, Linux, and UNIX systems.
To stop the configuration manger and the WebSphere MQ queue manager associated with it:
mqsistop ConfigMgr -q
z/OS
To stop a broker called MQ00BRK:
F MQ00BRK,pc
End of change