The list of authorizations to add and the list of authorizations to remove must not overlap. For example, you cannot add display authority and remove display authority with the same command. This rule applies even if the authorities are
expressed using different options. For example, the following command fails because DSP authority overlaps with ALLADM authority:
SET AUTHREC PROFILE(*) OBJTYPE(QUEUE) PRINCIPAL(PRINC01) AUTHADD(DSP) AUTHRMV(ALLADM)
OK, that's straightforward.
But I intended to replicate what I did in my setmqaut scripts where, being a T.Rob disciple, I clearly remove any and all authorities before applying what I intend, knowing that I end up with only exactly what this command says and no other
So I try the following command, and it works:
SET AUTHREC GROUP('mygroup') OBJTYPE(QMGR) AUTHRMV(ALL) AUTHADD(CONNECT)
And that conflicts with the Knowledge Center article, since ALL clearly overlaps CONNECT.
So is the Knowledge Center Article wrong? Or am I taking advantage of a loophole that might get “fixed” who knows when?
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com