mqsideleteusernameserver command

Supported platforms

Purpose

This command:
  • Stops the service that runs the User Name Server.
  • Stops and deletes the WebSphere MQ queue manager for the User Name Server, if requested.
  • Removes the record for the component in the broker registry.

Syntax

Windows platforms, Linux and UNIX systems

z/OS

Parameters

-q
(Optional - Windows platforms, Linux, and UNIX systems) Deletes the User Name Server's queue manager when the User Name Server has been deleted. (If this option is not specified, only the WebSphere Event Broker queues are deleted.)

If the queue manager hosts another component (a broker, or the Configuration Manager, or both) that still exists, this command fails.

-w
(Optional - Windows platforms, Linux, and UNIX systems) Deletes all files related to the User Name Server from the workpath.
-c ComponentDirectory
(Required - z/OS) The name of the component directory. For example /var/wmqi/MQP1UNS
-1
(Optional - z/OS only) Deletes only the User Name Server registry.
-2
(Optional - z/OS only) Deletes only the User Name Server WebSphere MQ queues.

Responses

  • BIP8012 Unable to connect to system components
  • BIP8013 Component does not exist
  • BIP8017 Component cannot be deleted
  • BIP8018 Component running
  • BIP8048 Unable to start queue manager
  • BIP8049 Unable to stop queue manager
  • BIP8052 Unable to delete queue
  • BIP8082 Unable to delete queue manager
  • BIP8093 Queue manager being created
  • BIP8094 Queue manager stopping
  • BIP8095 Queue manager reserved

Examples

mqsideleteusernameserver
Related concepts
User Name Server