This blog entry covers OPMODE as well explaining why my SET CHLAUTH command failed.
On my V9 queue manager I issued
MQPA SET CHLAUTH(EXP)TYPE( ADDRESSMAP)CHCKCLNT(REQUIRED) ADDRESS('*')
CSQY336E MQPA CSQMSCA CHCKCLNT not allowed - restricted functionality
The CHCKCLNT(REQUIRED) has been there for years (V8).... So what was the problem?
In the queue manager job log it had
CSQY101I MQPA LOGLOAD=16000000, OPMODE=(NEWFUNC ,903)
The 903 shows this is a Continuous Delivery (CD) release - so the latest code
I walked around the building till I found the developer (a luxury most people do not have). He suggested the command
MQPA DISPLAY SYSTEM
and the output includes
CSQJ322I MQPA DISPLAY SYSTEM report ...
Parameter Initial value SET value
----------- ---------------------- ----------------------
OPMODE COMPAT , 903, 710
The DISPLAY SYSTEM command documentation has
- The first indicates whether the queue manager is operating in compatibility mode or new function mode.
- The second shows the current compatibility level.
- The third shows the level of new functions that are available.
The 710 is because there is one queue manager in the QSG which is still at MQ V710 so this is the level of MQ functions which are supported - not the 903 I thought.
The CHCKCLNT(REQUIRED) is a V800 function. This is why the command did not work
It works else where..
On a different queue manager (not in the QSG) DIS SYSTEM gave
OPMODE NEWFUNC , 901, 901
and the command
MQPC SET CHLAUTH(EXP)TYPE(ADDRESSMAP)ADDRESS('*') MCAUSER(PAICE2) CHCKCLNT(REQUIRED)
worked successfully (as expected)
How do I tell which queue manager is causing the problem.