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 » dmpmqcfg utility

Post new topic  Reply to topic
 dmpmqcfg utility « View previous topic :: View next topic » 
Author Message
reshmanambiar
PostPosted: Sun Jul 06, 2014 7:21 pm    Post subject: dmpmqcfg utility Reply with quote

Newbie

Joined: 06 Jul 2014
Posts: 5

Iam new to concept of dmpmqcfg utility.

Please explain what does the below command do ?

dmpmqcfg -m myQMgr -x <object> -o mqsc -c "DEF CHL(myChannel) CHLTYPE(CLNTCONN)
CONNAME('<IPAddr>(Port) )"

Why define a channel, when we are dumping the information.?
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sun Jul 06, 2014 8:17 pm    Post subject: Reply with quote

Poobah

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

The dmpmqcfg utility is well-documented.

When you searched here, google, or IBM's Knowledge Center, what did you discover about the dmpmqcfg utility?
_________________
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
reshmanambiar
PostPosted: Sun Jul 06, 2014 11:01 pm    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2014
Posts: 5

I understand its used to dump all the queue manager configuration to a file.

Would like to know why shd we define a channel when we dumping the information?
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Jul 07, 2014 12:50 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

reshmanambiar wrote:
...Would like to know why shd we define a channel when we dumping the information?

bruce2359 has already told you...
_________________
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
reshmanambiar
PostPosted: Tue Jul 08, 2014 11:26 pm    Post subject: dmpmqcfg Reply with quote

Newbie

Joined: 06 Jul 2014
Posts: 5

When i use below command

dmpmqcfg -m QMGR1 -a -o mqsc -c "DEFINE CHANNEL(CLNTCONN.TEST) CHLTYPE(CLNTCONN) CONNAME('localhost(1414)')"

Getting "Program cannot connect to the queue manager"

Any advise?
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Wed Jul 09, 2014 12:24 am    Post subject: Re: dmpmqcfg utility Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

reshmanambiar wrote:
Why define a channel, when we are dumping the information.?

Defining channel is an option, when you would like to connect as a client (remote MQ client). If you launch dmpmqcfg on the same box where your queue manager is running, channel definition is unnecessary.
Back to top
View user's profile Send private message
reshmanambiar
PostPosted: Wed Jul 09, 2014 12:33 am    Post subject: dmpmqcfg Reply with quote

Newbie

Joined: 06 Jul 2014
Posts: 5

Thanks all for the replies.

Yup, I agree dmpmqcfg on the same box where your queue manager is running, channel definition is unnecessary.

But when I define channel for remote client. getting error as shown below
dmpmqcfg -m QMGR1 -a -o mqsc -c "DEFINE CHANNEL(CLNTCONN.TEST) CHLTYPE(CLNTCONN) CONNAME('localhost(1414)')"

Getting error "Program cannot connect to the queue manager"
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Wed Jul 09, 2014 1:24 am    Post subject: Re: dmpmqcfg Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

reshmanambiar wrote:
But when I define channel for remote client. getting error as shown below
dmpmqcfg -m QMGR1 -a -o mqsc -c "DEFINE CHANNEL(CLNTCONN.TEST) CHLTYPE(CLNTCONN) CONNAME('localhost(1414)')"

Getting error "Program cannot connect to the queue manager"

In case of that you would like to connect with this channel name CLNTCONN.TEST, but its pair, a server-connection channel have not been defined on server. You should find an entry about it in queue manager error log files (AMQERR01.LOG).


Last edited by Tibor on Wed Jul 09, 2014 1:24 am; edited 1 time in total
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jul 09, 2014 1:24 am    Post subject: Re: dmpmqcfg Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

reshmanambiar wrote:
Thanks all for the replies.

Yup, I agree dmpmqcfg on the same box where your queue manager is running, channel definition is unnecessary.

But when I define channel for remote client. getting error as shown below
dmpmqcfg -m QMGR1 -a -o mqsc -c "DEFINE CHANNEL(CLNTCONN.TEST) CHLTYPE(CLNTCONN) CONNAME('localhost(1414)')"

Getting error "Program cannot connect to the queue manager"


do the security rules on the target queue Manager allow you to connect?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » dmpmqcfg utility
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.