| Author | 
		  Message
		 | 
		
		  | bernard_fay | 
		  
		    
			  
				 Posted: Wed Sep 04, 2013 10:29 am    Post subject: archiving logs in MQ for Windows | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 24 Jul 2012 Posts: 30
  
  | 
		  
		    
			  
				MQ for z/OS has the command "archive log".  This command is interesting because there is no need to stop MQ to archive logs.
 
 
Is there a similar command for MQ for Windows?
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Sep 04, 2013 11:36 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				| If it's not in the documentation, then there isn't a command. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed Sep 04, 2013 3:37 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				WMQ Logging on z/OS works differently, as does the "file system" on z/OS, which allows all sorts of interesting tricks. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Thu Sep 05, 2013 3:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Sep 05, 2013 11:52 am    Post subject: Re: archiving logs in MQ for Windows | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| bernard_fay wrote: | 
   
  
	MQ for z/OS has the command "archive log".  This command is interesting because there is no need to stop MQ to archive logs.
 
 
Is there a similar command for MQ for Windows?
 
 
Thanks | 
   
 
 
 
Have you looked at the corresponding support packs?
 
Personally I favor the MS0L support pack.
 
 
Have fun   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bernard_fay | 
		  
		    
			  
				 Posted: Fri Sep 27, 2013 4:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 24 Jul 2012 Posts: 30
  
  | 
		  
		    
			  
				A colleague of mine found a way:
 
 
runmqsc QMGRXYZ.
 
 
reset qmgr type(advancelog)
 
 
 
According to the MQ documentation, reset qmgr type does exactly what we were looking for. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Sep 27, 2013 9:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| bernard_fay wrote: | 
   
  
	A colleague of mine found a way:
 
 
runmqsc QMGRXYZ.
 
 
reset qmgr type(advancelog)
 
 
 
According to the MQ documentation, reset qmgr type does exactly what we were looking for. | 
   
 
 
Given the description of your problem I doubt very much that the advance log command will do what you want. 
 
I'd expect rcdmqimg to be what you really want...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |