A table of all the PCF commands and the security profile they require access to can be found here.
In short though, for an inquire command, you need READ access to the hlq.DISPLAY.<primary-key-word> profile in the MQCMDS class.
So Inquire Queue is the same as the MQSC command DISPLAY.QUEUE, so you need READ access to the hlq.DISPLAY.QUEUE profile in the MQCMDS class.
For Inquire commands you do not require any access to any command resource profiles (in MQADMIN or MXADMIN class).
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website:
https://www.mqgem.com------------------------------
Original Message:
Sent: Thu September 08, 2022 10:32 AM
From: Debabrata Ghosh
Subject: Authority need for PCF command on z/OS
Hi Morag,
mostly PCF query services- query queue depth, channel status. Channel Ping etc. Nothing that relates to alter.
Regards
deb
------------------------------
Debabrata Ghosh
Original Message:
Sent: Thu September 08, 2022 08:27 AM
From: Morag Hughson
Subject: Authority need for PCF command on z/OS
That will vary depending on the command. It will be the same authority required to issue the equivalent MQSC command.
Tell us the command you are issuing and we can advise further.
Cheers
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Wed September 07, 2022 11:24 AM
From: Debabrata Ghosh
Subject: Authority need for PCF command on z/OS
What MQ authorization is required to issue PCF command from a task ?
Regards
deb
------------------------------
Debabrata Ghosh
------------------------------