| Author | 
		  Message
		 | 
		
		  | LouML | 
		  
		    
			  
				 Posted: Thu Feb 07, 2008 11:26 am    Post subject: Is there such a thing as a 'Reverse Trigger'? | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 10 Nov 2005 Posts: 305 Location: Jersey City, NJ / Bethpage, NY 
  | 
		  
		    
			  
				Is there a way to trigger something when (or just before) a channel shuts down?
 
 
What I want to do is capture the CURSEQNO and LSTSEQNO of a sender channel just before it shuts down. 
 
 
I think this would come in handy when failing over between Production and DR machines. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Feb 07, 2008 1:55 pm    Post subject: Re: Is there such a thing as a 'Reverse Trigger'? | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| LouML wrote: | 
   
  
	Is there a way to trigger something when (or just before) a channel shuts down?
 
 
What I want to do is capture the CURSEQNO and LSTSEQNO of a sender channel just before it shuts down. 
 
 
I think this would come in handy when failing over between Production and DR machines. | 
   
 
 
 
Check current and saved channel status... _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Feb 07, 2008 2:27 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Channel Exits....
 
 
Channel Events... _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Feb 07, 2008 2:31 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| I think this would come in handy when failing over between Production and DR machines. | 
   
 
 
If you are concerned about this you should really run an HA solution...
 
 
Enjoy   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Mr Butcher | 
		  
		    
			  
				 Posted: Fri Feb 08, 2008 12:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 23 May 2005 Posts: 1716
  
  | 
		  
		    
			  
				i once wrote a channel exit to capture the channel values, like msgs and so on when a channel ends. its assembler on z/OS. _________________ Regards, Butcher | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |