| Author | 
		  Message
		 | 
		
		  | techno | 
		  
		    
			  
				 Posted: Thu Apr 03, 2003 5:11 pm    Post subject: sender channel for a given receiver channel | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 22 Jan 2003 Posts: 429
  
  | 
		  
		    
			  
				How do I find sender channel for a given receiver channel? 
 
 
It is easy to find Reeceiver channel for a given sender channel, using connection name. 
 
 
 
Thanks 
 
Shiva. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Thu Apr 03, 2003 5:43 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				That's what the naming conventions are for. 
 
 
May be you ca use netstat -an, but that will give you the IP's of all the inbound channel IP's. You then have to narrow down. 
 
 
Or may be there are tools
 
 
-------
 
Venny | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | techno | 
		  
		    
			  
				 Posted: Fri Apr 04, 2003 1:44 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 22 Jan 2003 Posts: 429
  
  | 
		  
		    
			  
				Name on both side has to be the same to work That is fine. 
 
 
Now, my concern is, for instance,
 
 
Machine A: 
 
SDR_CHNL (chnl type: SDR) with Connection name (Machine C)
 
 
Machine B: 
 
SDR_CHNL (chnl type: SDR) with Connection name (Machine C)
 
 
Machine C: 
 
SDR_CHNL (chnl type: RCVR) 
 
 
I know that it should not be. We are currently facing this kind of problem (Could not clearly conclude what is the problem)
 
 
 
Thanks for your inputs.
 
Shiva. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | blowbeat | 
		  
		    
			  
				 Posted: Mon Apr 07, 2003 12:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 02 Apr 2002 Posts: 49
  
  | 
		  
		    
			  
				If you use a naming convention for your channels that is uses the sending and receiving queue manager in the name of the channel would resolve the issue.  
 
 
Cheers, Jan. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | techno | 
		  
		    
			  
				 Posted: Mon Apr 07, 2003 8:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 22 Jan 2003 Posts: 429
  
  | 
		  
		    
			  
				So, can I define two sender channels (from different q-mgrs) pointing to one receiving channel on the target q-mgr? Of course, only one will be active at any time. I showed this scenario in my sample (previous message)
 
 
Thanks
 
Shiva. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Mon Apr 07, 2003 8:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				You can do that but why do you want to do that? Why don't you have two different pair of channels. 
 
 
If you have three machines called 
 
M1
 
M2
 
and M3
 
 
Then have SDR channels defined something like 
 
M2.TO.M1
 
M3.TO.M1
 
etc. 
 
 
This way if you have a RCVR channel with name M2.TO.M1 on box M1 then you will by the name know that the channels other end is on box M2. 
 
 
-------
 
Venny | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | techno | 
		  
		    
			  
				 Posted: Mon Apr 07, 2003 2:14 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 22 Jan 2003 Posts: 429
  
  | 
		  
		    
			  
				That's a goo thing. You have really reached my problem. 
 
 
I have not done it wantedly. It happened by mistake. Two sender channels pointing to same receiver cahnnel and we were troubleshooting the problem for some hours. That means, somebody deceived the system. I feel this must not happen. Receiver must have reference to sender channel!!! ... What do you say? If not how do you prevent this kind of error?
 
 
Thanks
 
Shiva. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tej | 
		  
		    
			  
				 Posted: Thu Apr 24, 2003 9:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 18 Nov 2002 Posts: 20
  
  | 
		  
		    
			  
				Can you have a shot,
 
 
when there is no traffic between three QMGR's then send a message from Machine a to machine C . Then see the last message time parameter on the channel. If it is same as the present time then you are done, else try for the Machine B in the same process | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |