|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Clear Queued | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | lcarreno | 
			  
				|  Posted: Thu May 22, 2003 7:34 am    Post subject: Clear Queued |   |  |  
		  | Novice
 
 
 Joined: 06 Dec 2002Posts: 20
 
 
 | 
			  
				| Hello, 
 Somebody, have a example, how can clear an queued with pfc, or with other method?
 |  |  
		  | Back to top |  |  
		  |  |  
		  | bower5932 | 
			  
				|  Posted: Thu May 22, 2003 7:42 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 27 Aug 2001Posts: 3023
 Location: Dallas, TX, USA
 
 | 
			  
				| Other method...use runmqsc with the clear ql(Q) command |  |  
		  | Back to top |  |  
		  |  |  
		  | RogerLacroix | 
			  
				|  Posted: Thu May 22, 2003 8:02 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 15 May 2001Posts: 3265
 Location: London, ON  Canada
 
 | 
			  
				| Here is a Java code snippet for clearing the queue using PCF: 
 
   
	| Code: |  
	| PCFParameter [] parameters = { new MQCFST (CMQC.MQCA_Q_NAME, qName) }; responses = agent.send (CMQCFC.MQCMD_CLEAR_Q, parameters);
 |  
 Note: You need SupportPac MS0B.
 
 later
 Roger...
 _________________
 Capitalware: Transforming tomorrow into today.
 Connected to MQ!
 Twitter
 |  |  
		  | Back to top |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  |  |  |