Removing security policies

To remove security policies in IBM® MQ Advanced Message Security, you must use the setmqspl command.

Before you begin

There are some entry conditions which must be met when managing security policies:
  • The queue manager must be running.
  • You must have the necessary authority to connect to the queue manager and create a security policy. On z/OS®, grant the authorities documented in The message security policy utility (CSQ0UTIL). On other platforms other than z/OS, you must grant the necessary +connect, +inq and +chg authorities using the setmqaut command. For more information about configuring security see Setting up security.

About this task

Use the setmqspl command with the -remove option.

Example

Here is an example of removing a policy:

setmqspl -m QMGR -remove -p MY.OTHER.QUEUE