The Authority Error related log entry on the receiving QM is shown below as well as one of the Authority Event messages from the SYSTEM.ADMIN.QMGR.EVENT queue.
There is one log entry like that every time the channel retries.
There is one of these Authority Event for every message in the batch. Interesting – not one Authority Event message per channel retry, one per every message in the batch per channel retry. And it's an error not for an OPEN, but for a CONN. So why wouldn't that same error be thrown on a CONN when the channel is starting with no messages to move?
I get enabled the XMITQ, cleared the messages in the XMITQ, and did nothing else.
On the next channel retry, the channel started and went into running mode!
Putting just one message at this time caused the channel to immediately go into retrying mode.
OK, I get it, no messages can successfully pass, so that's good. But the fact the channel even starts (with no messages to process) seems odd to me.
04/12/2020 10:39:07 AM - Process(2447.54236) User(mqm) Program(amqrmppa)
Host(ThisHost) Installation(Installation1)
VRMF(9.1.0.4) QMgr(ThisQM)
Time(2020-04-12T14:39:07.168Z)
ArithInsert1(2) ArithInsert2(2035)
CommentInsert1(DO_NOT_ALLOW)
AMQ9557E: Queue Manager User ID initialization failed for 'DO_NOT_ALLOW'.
EXPLANATION:
The call to initialize the User ID 'DO_NOT_ALLOW' failed with CompCode 2 and
Reason 2035. If an MQCSP block was used, the User ID in the MQCSP block was ''.
If a userID flow was used, the User ID in the UID header was '' and any CHLAUTH
rules applied prior to user adoption were evaluated case-sensitively against
this value.
ACTION:
Correct the error and try again.
[ 540 bytes] Event Header (MQCFH)
Type :7 (Event)
Struc Length :36
Version :1
Command :44 (QMgr Event)
Sequence No. :1
Control :1 (Last)
CompCode :1 (Warning)
Reason :2035 (Not authorized.)
Parm Count :7
[ 504 bytes] String (MQCFST)
Type :4 (String)
Struc Length :68
Parameter Id :2015 (QMgr Name)
CCSID :0
String Length:48
Value :ThisQM '
[ 436 bytes] Integer (MQCFIN)
Type :3 (Integer)
Struc Length :16
Parameter Id :1020 (Reason Qualifier)
Value :1 [0x'1'] MQRQ_CONN_NOT_AUTHORIZED
[ 420 bytes] String (MQCFST)
Type :4 (String)
Struc Length :32
Parameter Id :3025 (User Identifier)
CCSID :0
String Length:12
Value :'DO_NOT_ALLOW'
[ 388 bytes] Integer (MQCFIN)
Type :3 (Integer)
Struc Length :16
Parameter Id :1 (Appl Type)
Value :7 [0x'7'] MQAT_QMGR
[ 372 bytes] String (MQCFST)
Type :4 (String)
Struc Length :48
Parameter Id :3024 (Appl Name)
CCSID :0
String Length:28
Value :' '
[ 324 bytes] String (MQCFST)
Type :4 (String)
Struc Length :40
Parameter Id :3501 (Channel Name)
CCSID :0
String Length:20
Value :'ThatQM.ThisQM '
[ 284 bytes] String (MQCFST)
Type :4 (String)
Struc Length :284
Parameter Id :3506 (Connection Name)
CCSID :0
String Length:264
Value :'IP.Address.Was.Here.....................................................................'
'...................................................................................'
'...................................................................................'
'...............'