Author |
Message
|
reshmanambiar |
Posted: Sun Jul 06, 2014 7:21 pm Post subject: dmpmqcfg utility |
|
|
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 |
|
 |
bruce2359 |
Posted: Sun Jul 06, 2014 8:17 pm Post subject: |
|
|
 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 |
|
 |
reshmanambiar |
Posted: Sun Jul 06, 2014 11:01 pm Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Mon Jul 07, 2014 12:50 am Post subject: |
|
|
 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 |
|
 |
reshmanambiar |
Posted: Tue Jul 08, 2014 11:26 pm Post subject: dmpmqcfg |
|
|
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 |
|
 |
Tibor |
Posted: Wed Jul 09, 2014 12:24 am Post subject: Re: dmpmqcfg utility |
|
|
 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 |
|
 |
reshmanambiar |
Posted: Wed Jul 09, 2014 12:33 am Post subject: dmpmqcfg |
|
|
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 |
|
 |
Tibor |
Posted: Wed Jul 09, 2014 1:24 am Post subject: Re: dmpmqcfg |
|
|
 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 |
|
 |
smdavies99 |
Posted: Wed Jul 09, 2014 1:24 am Post subject: Re: dmpmqcfg |
|
|
 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 |
|
 |
|