| Author | 
		  Message
		 | 
		
		  | BermudaIonique | 
		  
		    
			  
				 Posted: Tue May 02, 2006 11:53 pm    Post subject: Obtaining remotly the configuration of a Queue Manager | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Wed May 03, 2006 1:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | BermudaIonique | 
		  
		    
			  
				 Posted: Wed May 03, 2006 3:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kevinf2349 | 
		  
		    
			  
				 Posted: Wed May 03, 2006 5:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 28 Feb 2003 Posts: 1311 Location: USA 
  | 
		  
		    
			  
				| What platform is the remote end? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed May 03, 2006 5:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | BermudaIonique | 
		  
		    
			  
				 Posted: Wed May 03, 2006 5:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Wed May 03, 2006 10:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				| Are your XMITQ names same as the remote QMGRs. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Kateel | 
		  
		    
			  
				 Posted: Wed May 03, 2006 11:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 01 May 2006 Posts: 17
  
  | 
		  
		    
			  
				| And... SYSTEM.ADMIN.SVRCONN channel defined in the remote QM. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | BermudaIonique | 
		  
		    
			  
				 Posted: Thu May 04, 2006 12:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kevinf2349 | 
		  
		    
			  
				 Posted: Thu May 04, 2006 4:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 28 Feb 2003 Posts: 1311 Location: USA 
  | 
		  
		    
			  
				| How about posting the channel and XMITQ definitions? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Thu May 04, 2006 5:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |