[UNIX, Linux, Windows, IBM i]

DELETE POLICY (delete a security policy) on Multiplatforms

Use the MQSC command DELETE POLICY to delete a security policy.

DELETE POLICY

Read syntax diagramSkip visual syntax diagram DELETE POLICY ( policy-name ) IGNSTATE(NO)1IGNSTATE(YES)
Notes:
  • 1 Valid only on AIX®, Linux®, and Windows.

Parameter descriptions for DELETE POLICY

(policy-name)
Specifies the policy name to be deleted.

The name of the policy, or policies, to delete are the same as the name of the queue, or queues, that the policies control.

[MQ 9.2.1 Dec 2020][AIX, Linux, Windows]IGNSTATE
This parameter allows you to specify whether you want the command to return an error code if the object is already in the state the command moves it to.
A value of YES means the return code and message are the same as if the MQSC object has not been deleted.

A value of NO means that the return code is zero, even if the object has been deleted. This is the default value.