PCF comand to set authorities
Hello,
I try to issue a PCF command that changes permissions on a queue object (or any other object).
This is the code:
import pymqi
from pymqi import CMQC, CMQCFC
from CMQCFC import *
from CMQC import *
qmgr=pymqi.
pcf = pymqi.PCFExecut
try:
response = pcf.MQCMD_
})
except pymqi.MQMIError, e:
raise
else:
pprint(
qmgr.disconnect()
The code throws an exception when run:
Traceback (most recent call last):
File "auth_pcf.py", line 24, in <module>
MQCACF_
File "/home/
raise MQMIError(rv[-2], rv[-1])
pymqi.MQMIError: MQI Error. Comp: 2, Reason 3014: FAILED: MQRCCF_
Could you please help me? I read the documentation regarding the PCF commands (ftp://ftp.
The queue manager is version 7.0.1.7 on the same box as the client. Other MQI or PCF calls succeed.
Thanks.
Regards,
Ralf
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- PyMQI Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ralf Henschkowski
- Solved:
- Last query:
- Last reply: