Author |
Message
|
nithinkumar1519 |
Posted: Wed Dec 07, 2011 8:42 pm Post subject: setting mqserver as variable |
|
|
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 |
|
 |
bruce2359 |
Posted: Wed Dec 07, 2011 9:04 pm Post subject: |
|
|
 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 |
|
 |
nithinkumar1519 |
Posted: Wed Dec 07, 2011 9:07 pm Post subject: error |
|
|
Novice
Joined: 07 Dec 2011 Posts: 14
|
the error message is
MQRC_NOT_AUTHORIZED
whats the meaning of this?? |
|
Back to top |
|
 |
nithinkumar1519 |
Posted: Wed Dec 07, 2011 10:08 pm Post subject: how to sety authorization |
|
|
Novice
Joined: 07 Dec 2011 Posts: 14
|
hey thankx bruce2359..
how do you set authorization for a queuemanager??
Thanks
A NithinKumar |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Dec 07, 2011 10:35 pm Post subject: |
|
|
 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 |
|
 |
nithinkumar1519 |
Posted: Thu Dec 08, 2011 1:22 am Post subject: authorization was set successfully |
|
|
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 |
|
 |
bruce2359 |
Posted: Thu Dec 08, 2011 6:25 am Post subject: |
|
|
 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 |
|
 |
nithinkumar1519 |
Posted: Thu Dec 08, 2011 8:50 pm Post subject: amqsputc error |
|
|
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 |
|
 |
bruce2359 |
Posted: Thu Dec 08, 2011 9:09 pm Post subject: |
|
|
 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 |
|
 |
nithinkumar1519 |
Posted: Thu Dec 08, 2011 9:22 pm Post subject: mqconn 2058 |
|
|
Novice
Joined: 07 Dec 2011 Posts: 14
|
2058 Queue manager name not valid or not known |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 08, 2011 10:15 pm Post subject: Re: mqconn 2058 |
|
|
 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 |
|
 |
nithinkumar1519 |
Posted: Thu Dec 08, 2011 10:28 pm Post subject: plz |
|
|
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 |
|
 |
exerk |
Posted: Fri Dec 09, 2011 2:01 am Post subject: Re: plz |
|
|
 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 |
|
 |
zpat |
Posted: Fri Dec 09, 2011 3:35 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Dec 09, 2011 3:47 am Post subject: |
|
|
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 |
|
 |
|