Removing security policies in AMS

To remove security policies in 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.

    For more information about configuring security see Set 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