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 Installation/Configuration Support » setting mqserver as variable

Post new topic  Reply to topic Goto page 1, 2  Next
 setting mqserver as variable « View previous topic :: View next topic » 
Author Message
nithinkumar1519
PostPosted: Wed Dec 07, 2011 8:42 pm    Post subject: setting mqserver as variable Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

set MQSERVER=ChannelName/TransportType/ConnectionName(port) As :

set MQSERVER=SERVER.CHANNEL1/TCP/1.2.3.4(1414)

after i set this when i type
AMQSPUTC name.of.the.queue queu.mgr i get an
MQCONN ended with reason code 2035

what should i do?
client side
i have installed
1) mq client
2)ami
3)db2 is already installed
server side
1)queue mgr is already configured properly
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 07, 2011 9:04 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Start by researching what a ReasonCode 2035 means. google is a good place to start.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nithinkumar1519
PostPosted: Wed Dec 07, 2011 9:07 pm    Post subject: error Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

the error message is
MQRC_NOT_AUTHORIZED

whats the meaning of this??
Back to top
View user's profile Send private message
nithinkumar1519
PostPosted: Wed Dec 07, 2011 10:08 pm    Post subject: how to sety authorization Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

hey thankx bruce2359..
how do you set authorization for a queuemanager??

Thanks
A NithinKumar
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 07, 2011 10:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Likely, the userid of the client is not known to the server OAM, or is not authorized to MQCONNect to the qmgr.

The setmqaut control command can be used to grant appropriate authorities to the userid (or group). Do not add the client userid to mqm group.

Search google for setmqaut for details.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nithinkumar1519
PostPosted: Thu Dec 08, 2011 1:22 am    Post subject: authorization was set successfully Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

after setting the authorization should i directly proceed with the steps or is anything more to be done....


Thanks
A Nithin Kumar
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 08, 2011 6:25 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Grant authorizations to the group/userid; then run the application program again.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nithinkumar1519
PostPosted: Thu Dec 08, 2011 8:50 pm    Post subject: amqsputc error Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

amqsputc error i'm getting

mqconn ended with reason code 2058
i am giving everything right not knowing what to do
this is the syntax i am giving

amqsputc SC.CRM.SVC.RQI.01(QUEUE NAME) QMEIGP1(QMGR)

IT ANYTHING MORE WE SHOULD GIVE???
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 08, 2011 9:09 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

What does a r/c 2058 mean?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nithinkumar1519
PostPosted: Thu Dec 08, 2011 9:22 pm    Post subject: mqconn 2058 Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

2058 Queue manager name not valid or not known
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 08, 2011 10:15 pm    Post subject: Re: mqconn 2058 Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

nithinkumar1519 wrote:
2058 Queue manager name not valid or not known

First thing to check is the value of your MQSERVER variable.
Verify that the qmgr has a listener running on the mqport.
Next do a telnet to hostname and mqport to verify that there is no firewall blocking you.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
nithinkumar1519
PostPosted: Thu Dec 08, 2011 10:28 pm    Post subject: plz Reply with quote

Novice

Joined: 07 Dec 2011
Posts: 14

hey dude fjb_saper could you please guide me how to do the steps?

i am new to MQ ??
or could you please provide me the links how to do that??

Thanks
A Nithin Kumar
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Dec 09, 2011 2:01 am    Post subject: Re: plz Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

nithinkumar1519 wrote:
hey dude fjb_saper could you please guide me how to do the steps?

i am new to MQ ??
or could you please provide me the links how to do that??

Thanks
A Nithin Kumar

I suggest a good dose of RTFM...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Dec 09, 2011 3:35 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I am waiting for someone to post on a pilot's forum, "I am sitting at the controls of an Airbus 380, can someone tell me how to take off?".
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 09, 2011 3:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

zpat wrote:
I am waiting for someone to post on a pilot's forum, "I am sitting at the controls of an Airbus 380, can someone tell me how to take off?".


Bah... taking off's the easy part.

Landing, now that gets a bit dicey.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » setting mqserver as variable
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.