|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SAVEQMGR |
« View previous topic :: View next topic » |
Author |
Message
|
deanfore |
Posted: Thu Aug 10, 2006 1:44 pm Post subject: SAVEQMGR |
|
|
Novice
Joined: 08 Aug 2006 Posts: 18
|
I've got two qmgr's running on the same box. One is clustered and one is not. When I run saveqmgr it makes a script file for the default qmgr(which is the one that is not clusters.) I need to also be able to run saveqmgr against the other clustered qmgr. Is there any way to tell saveqmgr to right the script file for the other qmgr. |
|
Back to top |
|
 |
mq_smart |
Posted: Thu Aug 10, 2006 2:23 pm Post subject: |
|
|
 Acolyte
Joined: 30 Aug 2005 Posts: 57 Location: Vizag India
|
Hi If u just run the saveqmgr then it will by default takes the default queuemanager.If we want to generate a script for a particuolar queuemanager say QM1 then run command as
saveqmgr -m QM1 _________________ Thanks in Advance
ONE life LIVE it KING size.... |
|
Back to top |
|
 |
deanfore |
Posted: Thu Aug 10, 2006 2:43 pm Post subject: |
|
|
Novice
Joined: 08 Aug 2006 Posts: 18
|
That worked like a champ! Thanks! |
|
Back to top |
|
 |
wschutz |
Posted: Fri Aug 11, 2006 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
btw...if you use the -h or -? flag, you'll get:
Quote: |
[wschutz@wschutz-t60p ms03]$ ./saveqmgr.linux -h
Usage is:
./saveqmgr.linux [options], where [options] are one or more of the following optional switches
-h | -? : gives help (this)
-v version : determines which version of MQSC to generate
and can be '2','5','51','52','53' or '6'
The default is to generate mqsc at the version of the connected queue manager
Note: see read.me for more information on this flag
-m lqmgr : is the name of the local qmgr to connect (MQCONN)
-r rqmgr : is the name of the remote qmgr (XMITQ name)
-f [file] : allows the output file to be named,
if -f is not specified, the output file defaults to SAVEQMGR.TST
if -f is specified without a filename, it is named "qmgrname".MQS.
-o : specifies to replace (overwrite) the output file
if the -o flag is not specified, then the default is to append if the file exists
(on iSeries, *REPLACE,*APPEND must be specified after the -o flag)
-F [file] : behaves the same as -f except no header line is created in the output file
(and CURDEPTH, ALTDATE and ALTTIME are not reported)
-c : directs output to STDOUT and overrides use of -f flag
-s : suppress creation of objects that begin with "SYSTEM*"
-R : create RESET CHANNEL commands for non-client/svrconn channels
-p : Create 'local queue' definitions from PERMDYN queues.
-i : Ignore 'pcf' error codes 'damaged object' 'unknown object'.
Sets RetCode to WARNING if this error encountered.
-q : Quiet mode, do not issue warning about unknown PCF attributes
-1 : generate entire DEFINE command on one line (which does NOT include ALTDATE etc)
-2 : on a 2nd line, generate the DEFINE as a comment (which DOES include ALTDATE etc)
SAVEQMGR V6.0.2
|
_________________ -wayne |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|