Removing security policies in AMS
To remove security policies in Advanced Message Security, we must use the setmqspl command.
Before starting
There are some entry conditions which must be met when managing security policies:- The queue manager must be running.
- We 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, we must grant the necessary +connect, +inq and +chg authorities using the setmqaut command.
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.QUEUEParent topic: Manage security policies
Related information