Author |
Message
|
nickf |
Posted: Wed Oct 15, 2008 8:31 pm Post subject: Help with PCF and MQCMD_SET_AUTH_REC |
|
|
Newbie
Joined: 15 Oct 2008 Posts: 3
|
Hey guys... having a bit of a problem here trying to set authority records on a queue
I have tried the following however am getting error 3014 which means "The MQCFIN or MQCFIN64 Parameter field value was not valid."
Code: |
PCFMessage pcfAuth = new PCFMessage(CMQCFC.MQCMD_SET_AUTH_REC);
pcfAuth.addParameter(CMQCFC.MQIACF_OBJECT_TYPE, CMQC.MQOT_Q);
pcfAuth.addParameter(CMQCFC.MQCACF_AUTH_PROFILE_NAME, "*");
this.sendPCFMessage(pcfAuth); |
Any ideas? Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Oct 16, 2008 3:42 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
At first glance, the code appears correct.
Did you confirm that you are talking to a qmgr that is v6 or later? |
|
Back to top |
|
 |
nickf |
Posted: Thu Oct 16, 2008 2:13 pm Post subject: |
|
|
Newbie
Joined: 15 Oct 2008 Posts: 3
|
Yep the qmgr is v6
Other PCF calls seem to work fine |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Oct 16, 2008 2:29 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I'd stop the command server, send the message, and then dump the command server queue with amqsbcg.
Then look at the output, and decide if you need to upgrade the Java PCF classes you're using (to the latest version of ms0b), or open a PMR. |
|
Back to top |
|
 |
nickf |
Posted: Thu Oct 16, 2008 4:08 pm Post subject: |
|
|
Newbie
Joined: 15 Oct 2008 Posts: 3
|
Thanks for the help jeff
Unfortunately we couldn't get it going - amqsbcg wasn't working but we upgraded the java pcf classes and still the same problems
We are raising a PMR and in the mean time are going to use setmqaut
Cheers |
|
Back to top |
|
 |
sgies |
Posted: Fri Jan 30, 2009 4:31 pm Post subject: |
|
|
 Newbie
Joined: 30 Jan 2009 Posts: 3 Location: Seattle
|
Did you ever get a resolution to this issue? I'm getting the same error, using the .NET PCF classes. It appears that it is complaining about the MQIACF_OBJECT_TYPE parameter of MQOT_Q. |
|
Back to top |
|
 |
|