|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PCF Command Failing with MQRC 3008 |
« View previous topic :: View next topic » |
Author |
Message
|
vignesh1988 |
Posted: Wed Dec 04, 2013 8:30 pm Post subject: PCF Command Failing with MQRC 3008 |
|
|
Acolyte
Joined: 13 Apr 2013 Posts: 62 Location: Chennai
|
Hello Everyone,
Here is what am doing - I took the IBM supplied code to Inquire Queues using PCF commands from /usr/mqm/samp and the name is amqsailq.c.
I complied,link edited using xlC compiler as a 32 Bit version tried the following things:
My MQ Version is : 7.0.1.8
1) My ID is a part of "mqm" group so when i execute it, it is displaying the local queues perfectly.
2) I took my collegue's id where they are not a part of "mqm" group, So i granted the following authorities to the group to which my collegue id belongs to as below:
dspmqaut -m MBRS46C -t qmgr -g ymgwas
Entity ymgwas has the following authorizations for object MBRS46C:
inq
connect
dsp
dspmqaut -m MBRS46C -t q -n SYSTEM.ADMIN.COMMAND.QUEUE -g ymgwas
Entity ymgwas has the following authorizations for object SYSTEM.ADMIN.COMMAND.QUEUE:
browse
put
inq
dsp
dspmqaut -m MBRS46C -t q -n SYSTEM.DEFAULT.MODEL.QUEUE -g ymgwas
Entity ymgmq has the following authorizations for object SYSTEM.DEFAULT.MODEL.QUEUE:
get
browse
inq
dsp
dspmqaut -m MBRS46C -t q -n "**" -g ymgwas
Entity ymgwas has the following authorizations for object **:
browse
inq
dsp
After that when i try executing it, I got the reason code 3008 (Command Failed error).
With the following message:
Call to get queue attributes failed: Completion Code = 1 : Reason = 3008
MQHA BAG HANDLE is cc=0 & reason=0
MQIASY_COMP_CODE is cc=0 & reason=0
MQIASY_REASON is cc=0 & reason=0
Error returned by the command server: Completion Code = 0 : Reason = 0
The Peculiar thing is that - reason code is only 3008 and the following messages for this failure are giving me 0.
Please help me out. I am not getting what is happening.
In another AIX server this code is working fine after i setup there MQ as i did above authorities |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Dec 12, 2013 1:07 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
I am curious, why have you put this in the Java/JMS section - amqsailq.c is a C sample isn't it ?
I'm afraid I've never used this sample nor do I use the bag routines. Reason code 3008 is pretty vague, what makes you think it is security related ? If it is security related then I would expect you to get an authority event and, if you do, it will tell you the security values that you are missing.
Have you checked the other obvious places ? Server error log for any messages ? The Dead Letter Queue for any rejected command messages etc,
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
vignesh1988 |
Posted: Thu Dec 12, 2013 1:13 am Post subject: |
|
|
Acolyte
Joined: 13 Apr 2013 Posts: 62 Location: Chennai
|
Thanks for the reply Paul,
I tested on some 4 to 5 AIX boxes, all are working fine..
In this server only this code is behaving like that.. PCF command failing with 3008 error code and it's following exceptions returns only 0 return code
It's totally strange for me where completed wild card *" is not working , Partial Queue names are working like - "vignesh.*" (or) "Test.*" etc ara working..
In Solaris & Linux , same code is working fine.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|