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 » IBM MQ API Support » MQPSCompCode 2 MQPSReason 3081 MQRCCF_NOT_AUTHORIZED 2035

Post new topic  Reply to topic
 MQPSCompCode 2 MQPSReason 3081 MQRCCF_NOT_AUTHORIZED 2035 « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Tue May 26, 2009 7:46 am    Post subject: MQPSCompCode 2 MQPSReason 3081 MQRCCF_NOT_AUTHORIZED 2035 Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Hi, everybody.

I want to program an pub/sub app uing MQI then I run the samples of c.

The sample 'amqspr1 / amqssr1' and 'amqspr2 / amqssr2' both happens ERROR response returned like above.

MQPSCompCode 2 MQPSReason 3081 MQPSReasonText MQRCCF_NOT_AUTHORIZED MQPSErrorId 2035

I don't know how can I make userid authorized in this C code if the problem is about userid.

And by the way, I can run program 'amqpub & amqsub' with no problem.What's the difference between sample 'amqspr' and 'amqpub'?

Anybody can give me a clue?

Thanks.
Back to top
View user's profile Send private message Send e-mail
shashikanth_in
PostPosted: Tue May 26, 2009 7:31 pm    Post subject: Reply with quote

Centurion

Joined: 26 Feb 2009
Posts: 123

Assuming you are using MQ v7. 'amqspr1 / amqssr1' and 'amqspr2 / amqssr2' use the Queued Pub/Sub interface and amqspub/amqssub use MQ v7 native style of Pub/Sub.

Check if your logged in user id is more than 12 characters long. If it's more than 12, then you might get this error.
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 » IBM MQ API Support » MQPSCompCode 2 MQPSReason 3081 MQRCCF_NOT_AUTHORIZED 2035
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.