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 Discussion » Getting error code 2035 when trying to connect to MQ server

Post new topic  Reply to topic
 Getting error code 2035 when trying to connect to MQ server « View previous topic :: View next topic » 
Author Message
msvpraveen
PostPosted: Wed Jul 13, 2005 5:50 pm    Post subject: Getting error code 2035 when trying to connect to MQ server Reply with quote

Novice

Joined: 07 Jul 2005
Posts: 12

Hi,

I have my MQ client installed on windows 2000 machine and my server is on mainframe.I am trying to connect to MQ using sample C++ programs provided with client.The program is getting connected to the queue manager but when trying to open the queue giving an error with reason code 2035.Sample program doesn't set any user id or password.




Praveen
Back to top
View user's profile Send private message Yahoo Messenger
wschutz
PostPosted: Wed Jul 13, 2005 5:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

The windows client picks up the userid that is running the program. This can be overridden by the mcauser setting on the svrconn definition. Is the userid that's running the sample program authorized to open the queue (in racf or acf2 or topsecret)?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Wed Jul 13, 2005 7:27 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

No double posting please.
I deleted your other post.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
msvpraveen
PostPosted: Thu Jul 14, 2005 4:15 am    Post subject: Reply with quote

Novice

Joined: 07 Jul 2005
Posts: 12

vennela wrote:
No double posting please.
I deleted your other post.


Sorry for that I thought I didn't properly post the earlier one.

Coming back to the question,if I set a user id and password in the program which has access to the queue will it work fine.Also can u please elaborate as to what permissions the user should have.Is there a work around for this[/quote]
Back to top
View user's profile Send private message Yahoo Messenger
vennela
PostPosted: Thu Jul 14, 2005 6:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You will have to give permissions on the server to the user that you are supplying in your program.

CL commands to grant permissions.

Quote:
Authentication Information Commands
CHGMQMAUTI, Change MQM Authentication Information
CPYMQMAUTI, Copy MQM Authentication Information
DLTMQMAUTI, Delete MQM Authentication Information
CRTMQMAUTI, Create MQM Authentication Information
DSPMQMAUTI, Display MQM Authentication Information
WRKMQMAUTI, Work with MQM Authentication Information
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wschutz
PostPosted: Thu Jul 14, 2005 6:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I guess "mainframe" can mean iSeries, but I assumed it was zOS....

When you say:
Quote:
if I set a user id and password in the program which has access to the queue will it work fine.
what exactly do you mean?

"Programs" don't have access to queues, userids and groups have access. I assume you mean you're setting the via "setAlternateUserid" on the object (queue) you're trying to open.

Can you give more detail on exactly what you're doing to make it work?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Thu Jul 14, 2005 6:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

wschutz wrote:
I guess "mainframe" can mean iSeries, but I assumed it was zOS....


My bad. I haven't reread the post today. For some reason, I assumed it was iSeries.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Getting error code 2035 when trying to connect to MQ server
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.