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 » Obtaining remotly the configuration of a Queue Manager

Post new topic  Reply to topic
 Obtaining remotly the configuration of a Queue Manager « View previous topic :: View next topic » 
Author Message
BermudaIonique
PostPosted: Tue May 02, 2006 11:53 pm    Post subject: Obtaining remotly the configuration of a Queue Manager Reply with quote

Newbie

Joined: 01 May 2006
Posts: 7

Hello,

(Excuse me for my ~english~)

Yesterday i learned how to use Saveqmgr to save the object of a queue manager.

While using it i noticed an option

Quote:

saveqmgr -?


Usage is:
saveqmgr [options], where [options] are one or more of the following optional s
witches
-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 manage
r
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 e
xists
(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 outp
ut 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 ALTDAT
E etc)

SAVEQMGR V6.0.2


I saw the -r option. I guess it should return the information about a remote Queue manager. It's really interresting for me but i can help make it work.
I got this message instead :

Quote:

C:\dam\temp\SaveMq>saveqmgr -m BOUQUIDA -r FRLEV001Q
SAVEQMGR V6.0.2
Compiled for Websphere MQ V6.0 on Mar 2 2006
Requesting attributes of the queue manager...
(mqutils.c) Received message is not of type MQADMIN (got )
(mqutils.c) MQGET failed for reply queue. MQCC=2 MQRC=2317


The object seems to be correcty define. i can send message through the the XMIT_QUEUE FRLEV001Q and the channel BOUQUIDA.FRLEV001Q.

Do you have any queue well i mean clue ?[/b]
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed May 03, 2006 1:14 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Quote:
The object seems to be correcty define. i can send message through the the XMIT_QUEUE FRLEV001Q and the channel BOUQUIDA.FRLEV001Q.
Have you defined a channel for replies, e.g. FRLEV001Q.BOUQUIDA?
Back to top
View user's profile Send private message
BermudaIonique
PostPosted: Wed May 03, 2006 3:50 am    Post subject: Reply with quote

Newbie

Joined: 01 May 2006
Posts: 7

No i don't

...

Oki i did

I created a channel sender and a transmition queue on the remote side and a channel receiver on my side. (i also test them)

The error message is still the same
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed May 03, 2006 5:08 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

What platform is the remote end?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 03, 2006 5:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Can you confirm that there is a command server running on FRLEV001Q?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
BermudaIonique
PostPosted: Wed May 03, 2006 5:28 am    Post subject: Reply with quote

Newbie

Joined: 01 May 2006
Posts: 7

My server is on a Windows plateform, the remote one is on a Unix one.
A commande server is running on FRLEV001Q

If you have other questions, i'm still investigating
Back to top
View user's profile Send private message
vennela
PostPosted: Wed May 03, 2006 10:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Are your XMITQ names same as the remote QMGRs.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kateel
PostPosted: Wed May 03, 2006 11:27 am    Post subject: Reply with quote

Novice

Joined: 01 May 2006
Posts: 17

And... SYSTEM.ADMIN.SVRCONN channel defined in the remote QM.
Back to top
View user's profile Send private message
BermudaIonique
PostPosted: Thu May 04, 2006 12:31 am    Post subject: Reply with quote

Newbie

Joined: 01 May 2006
Posts: 7

vennela wrote:
Are your XMITQ names same as the remote QMGRs.


Yep

Quote:
And... SYSTEM.ADMIN.SVRCONN channel defined in the remote QM.


Yep too
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu May 04, 2006 4:55 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

How about posting the channel and XMITQ definitions?
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu May 04, 2006 5:54 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Kateel wrote:
And... SYSTEM.ADMIN.SVRCONN channel defined in the remote QM.
Why? This channel is required only for MQExplorer v5.x.
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 » Obtaining remotly the configuration of a Queue Manager
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.