| Author | 
		  Message
		 | 
		
		  | kspranava | 
		  
		    
			  
				 Posted: Tue May 18, 2004 10:05 pm    Post subject: connection name | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 27 Apr 2003 Posts: 124
  
  | 
		  
		    
			  
				Hi Woolmer,
 
 
For connection name use the following syntax,
 
 
ipaddress(portno)  or localhost(portno)
 
 
For port no. please go to QMgr's services --> Listener --> Properties --> Parameters.
 
 
Pranava. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fschofer | 
		  
		    
			  
				 Posted: Tue May 18, 2004 11:47 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany 
  | 
		  
		    
			  
				Hi,
 
 
can you please post the definitions of your MQ objects of both queue managers, maybe we can see something
 
=> 
 
runmqsc QMname
 
dis channel(CHname)
 
dis queue(Qname) 
 
 
You can als put the dis commands in a text file an send the output to a file
 
=>
 
runmqsc QMname < commands.txt > output.txt
 
 
Greetings
 
Frank | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wooda | 
		  
		    
			  
				 Posted: Wed May 19, 2004 1:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 21 Nov 2003 Posts: 265 Location: UK 
  | 
		  
		    
			  
				In an MQ Channel defintion the port number should be place in brackets at the end of the quoted conname propety 
 
 
eg.
 
 
CONNAME('localhost(1415)') | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | woolmerc | 
		  
		    
			  
				 Posted: Wed May 19, 2004 2:34 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Novice
 
 Joined: 12 May 2004 Posts: 21
  
  | 
		  
		    
			  
				You guys are brilliant!  Thanks very much.     
 
 
My problem was as simple as putting the port number beside localhost in brackets.  I had the port number specified like this previously:  localhost:1514 as you would assume would work, but obviously doesn't.
 
 
I could not find this syntax specified in the doco, and if it was, it didn't stand out very well.  Thanks very much for your help guys. _________________ Chris Woolmer
 
Programmer
 
KAZ Group Limited | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | alphacentari | 
		  
		    
			  
				 Posted: Wed May 19, 2004 7:41 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2004 Posts: 12
  
  | 
		  
		    
			  
				Did you see in MQInstalldirectory/QMgrs/[Yourqmgrname]/Errors directory error log ? What it says.?
 
 
Connection name should be some thing like "localhost(1514)". | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | alphacentari | 
		  
		    
			  
				 Posted: Wed May 19, 2004 7:43 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2004 Posts: 12
  
  | 
		  
		    
			  
				oops. I didnt see the secondpage and answered for last part of first page.
 
 
Good that the problem is solved. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |