Author |
Message
|
jhidalgo |
Posted: Wed Nov 05, 2008 1:09 pm Post subject: dmpmqaut on iSeries(AS400) |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
Hi all,
I am trying to dump the authority in iSeries, I supposed it has to be run from the QSHELL, but if I do:
/qsys.lib/qmqm.lib/dmpmqaut.pgm -m <qmgr>
The output is:
00000893 |AMQ0893| |WebSphere MQ was unable to display an error message for message id hexadecimal %6, with inserts %1, %2, %3, %4 and %5.
What should be the correct syntax ?
tks |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Nov 05, 2008 1:15 pm Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Have you tried using saveqmgr instead? It works well on iSeries, and can optionally dump the authorities (assuming you're at v6).
Steve |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 05, 2008 1:20 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
jhidalgo |
Posted: Wed Nov 05, 2008 1:27 pm Post subject: |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
mqjeff, I don't think you understand the problem here, please do not post if it will not contribute to the thread |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Nov 05, 2008 1:29 pm Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
I respectfully disagree. While DSPMQMAUT works fine, it gives you a nice panel-like display which is of literally no use for replaying the authorities into another queue manager, or for backup purposes. I took his requirement of a "dump" as just that.
Saveqmgr really is that good.
Just my 2 cents.
Steve |
|
Back to top |
|
 |
jhidalgo |
Posted: Wed Nov 05, 2008 1:33 pm Post subject: |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
Toronto_MQ wrote: |
Have you tried using saveqmgr instead? It works well on iSeries, and can optionally dump the authorities (assuming you're at v6).
Steve |
I need to use the tools provided with MQ, any other tool can't be installed in the servers |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Nov 05, 2008 1:36 pm Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
jhidalgo wrote: |
Toronto_MQ wrote: |
Have you tried using saveqmgr instead? It works well on iSeries, and can optionally dump the authorities (assuming you're at v6).
Steve |
I need to use the tools provided with MQ, any other tool can't be installed in the servers |
Then try:
CALL (QMQM/AMQOAMD)
or
CALL (QMQM/AMQOAMD) PARM('-s')
- to get it into command form.
If the queue manager is not the default then:
CALL PGM(QMQM/AMQOAMD) PARM('-mQMGR_NAME')
or
CALL PGM(QMQM/AMQOAMD) PARM('-mQMGR_NAME' '-s')
You'll have to figure out where to route the output and how to use it. |
|
Back to top |
|
 |
jhidalgo |
Posted: Wed Nov 05, 2008 1:57 pm Post subject: iSeries dmpmqaut authority as400 |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
Great !!!,
That's just what I wanted Toronto_MQ, I hope this thread get a good pagerank in google since it is not so easy to find the way of doing this dump.
 |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 05, 2008 3:27 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jhidalgo wrote: |
I need to use the tools provided with MQ, any other tool can't be installed in the servers |
Not even IBM support pacs? Now that's a controlled environment!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Nov 06, 2008 1:16 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
on i (system i, iSeries, AS400 ) you can also use /qsys.lib/qmqm.lib/amqoamd.pgm -m <qmgr> -s
That's what MQDocument does too _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|