mqsideleteusernameserver command

Supported platforms

  • Windows 2000, Windows XP
  • UNIX platforms
  • z/OS

Purpose

On Windows platforms and UNIX platforms, 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.

On z/OS, invoke the mqsideleteusernameserver command in your INSTPATH/bin directory. This command deletes all directories and files in your component directory. The root directory is not deleted but will be empty.

On z/OS, this command must run in a C locale. Any messages produced are in English, regardless of the user's current locale.

Syntax

Windows platforms and UNIX platforms

z/OS

Parameters

-q
(Optional - Windows platforms and UNIX platforms) 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 Business Integration 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 and UNIX platforms) 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

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

Related tasks
Deleting a User Name Server

Related reference
Syntax preference
mqsicreateusernameserver command
mqsichangeusernameserver command