ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Help with PCF and MQCMD_SET_AUTH_REC

Post new topic  Reply to topic
 Help with PCF and MQCMD_SET_AUTH_REC « View previous topic :: View next topic » 
Author Message
nickf
PostPosted: Wed Oct 15, 2008 8:31 pm    Post subject: Help with PCF and MQCMD_SET_AUTH_REC Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 16, 2008 3:42 am    Post subject: Reply with quote

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
View user's profile Send private message
nickf
PostPosted: Thu Oct 16, 2008 2:13 pm    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 3

Yep the qmgr is v6

Other PCF calls seem to work fine
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 16, 2008 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
nickf
PostPosted: Thu Oct 16, 2008 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
sgies
PostPosted: Fri Jan 30, 2009 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Help with PCF and MQCMD_SET_AUTH_REC
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.