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 » Export MQ Definitions

Post new topic  Reply to topic Goto page 1, 2  Next
 Export MQ Definitions « View previous topic :: View next topic » 
Author Message
qwerty123
PostPosted: Fri May 19, 2006 10:05 am    Post subject: Export MQ Definitions Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 23

Folks:

I'd like to know if there is way to export the definitions of the various MQ objects (QM, Queues, channels etc) created using the MQ Explorer into a text/script file ?

Thanks in advance

~N
Back to top
View user's profile Send private message
sandiksk
PostPosted: Fri May 19, 2006 10:08 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

even if you created with Mq explorer or in runmqsc you could save all the defiitions through the save_qmgr support pack. Search this forum for more results.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri May 19, 2006 10:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

ms03: saveqmgr

http://www-1.ibm.com/support/docview.wss?rs=171&q1=mA1J&uid=swg24000673&loc=en_US&cs=utf-8&lang=en


_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
qwerty123
PostPosted: Fri May 19, 2006 10:38 am    Post subject: Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 23

Thanks for your help guys
Back to top
View user's profile Send private message
rhomolka
PostPosted: Wed Oct 18, 2006 2:12 pm    Post subject: Remember authorizations Reply with quote

Newbie

Joined: 18 Oct 2006
Posts: 1

savemgmgr does NOT save authorizations. If you have any custom authorization, they should be backed up with dmpmqaut. Unfortunately the contencts of this file can not be fed into any MQ tools, but a simple perl script can parse this and change it into setmqaut commands.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 18, 2006 2:20 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Saveqmgr does save authorizations in the most recent version.

Also, amqoamd -s is a much better tool for saving authorizations than dmpmqaut.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcrmqput
PostPosted: Thu Dec 14, 2006 1:40 pm    Post subject: Reply with quote

Newbie

Joined: 14 Dec 2006
Posts: 3

jefflowrey wrote:
Saveqmgr does save authorizations in the most recent version.

Also, amqoamd -s is a much better tool for saving authorizations than dmpmqaut.


The "-z" option of saveqmgr will extract the same data as amqoamd -s. This feature works only on qmgrs >=V6. So, for earlier versions, amqoamd -s is a good option.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Dec 14, 2006 11:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

jcrmqput wrote:
jefflowrey wrote:
Saveqmgr does save authorizations in the most recent version.

Also, amqoamd -s is a much better tool for saving authorizations than dmpmqaut.


The "-z" option of saveqmgr will extract the same data as amqoamd -s. This feature works only on qmgrs >=V6. So, for earlier versions, amqoamd -s is a good option.


there is NO "-z", it's "-s" !

"-s" was introduced in MQ 5.2 CSD 4 btw
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wschutz
PostPosted: Fri Dec 15, 2006 3:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Michael Dag wrote:

there is NO "-z", it's "-s" !
Michael, I believe the reference is to "saveqmgr", where, since v6.0.3, the "-z" flag generates "setmqaut" commands.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Michael Dag
PostPosted: Fri Dec 15, 2006 3:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

wschutz wrote:
Michael Dag wrote:

there is NO "-z", it's "-s" !
Michael, I believe the reference is to "saveqmgr", where, since v6.0.3, the "-z" flag generates "setmqaut" commands.


ah! I see...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
euphoria
PostPosted: Fri Dec 15, 2006 3:22 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Feb 2004
Posts: 51

sorry to barge into this thread.... I have not found a way to save just a particular definition. say i have 100 queues defined on a queue manager and i want the definition of just one particular queue (to recreate it elsewhere) can we just save the one queue definition to a file?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 15, 2006 3:53 pm    Post subject: Reply with quote

Grand High Poobah

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

Use save qmgr and save all definitions.
Use find to get to the start of the queue.
Clear to top of file.
Navigate to the bottom of the definition
Clear to the bottom of the file ....

Et voila...

Or use the -1 flag, grep and then modify the file to have all the lines as needed....


Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Fri Dec 15, 2006 4:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
Or use the -1 flag, grep and then modify the file to have all the lines as needed....
fj is correct, that's why the -1 flag was introduced.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
exerk
PostPosted: Mon Dec 18, 2006 9:06 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Alternatively if you are using the MO71 support pac you can save down to file individual object definitions.
_________________
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
jefflowrey
PostPosted: Mon Dec 18, 2006 4:05 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

exerk wrote:
Alternatively if you are using the MO71 support pac you can save down to file individual object definitions.


If you happen to be running on Windows.

Otherwise, grep solves most problems.
_________________
I am *not* the model of the modern major general.
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 » Export MQ Definitions
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.