|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Command for stopping Message flow in the Broker | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | Balasubramani M | 
			  
				|  Posted: Wed Feb 19, 2003 5:46 pm    Post subject: Command for stopping Message flow in the Broker |   |  |  
		  | Newbie
 
 
 Joined: 29 Nov 2002Posts: 7
 Location: Malaysia
 
 | 
			  
				| Hi, I have a urgent requirement to stop and start the particular message flow in the broker instead of stop and start the broker or execution groups. This will affect all the message flows in the broker.Acutally only particular message flow has to be stopped periodically . so I am looking for the command to stop and start the message flow without affecting the broker.
 we have a plan to write a batch file to start and stop the particular message flow periodically.
 
 Thanks
 
 with regards
 Balasubramani M
 |  |  
		  | Back to top |  |  
		  |  |  
		  | yaakovd | 
			  
				|  Posted: Wed Feb 19, 2003 11:52 pm    Post subject: |   |  |  
		  | Partisan
 
 
 Joined: 20 Jan 2003Posts: 319
 Location: Israel
 
 | 
			  
				| Actually, what you need that control on input Q for each message flow. 
 1.Use PCF command
 2.bat file: runmqsc [QMgrName] < [fileName]
 where in file: ALTER QLOCAL([Qname]) GET(DISABLED)
 and back:  ALTER QLOCAL([Qname]) GET(ENABLED)
 
 MQSI will automatically stop the flow when Q DISABLED, and will start it when Q changed to ENABLED.
 _________________
 Best regards.
 Yaakov
 SWG, IBM Commerce, Israel
 |  |  
		  | Back to top |  |  
		  |  |  
		  | kirani | 
			  
				|  Posted: Thu Feb 20, 2003 7:05 am    Post subject: |   |  |  
		  | Jedi Knight
 
 
 Joined: 05 Sep 2001Posts: 3779
 Location: Torrance, CA, USA
 
 | 
			  
				| 3. Use Control center's operation pannel to stop/start message flow. 4. Send an admin message to Broker asking him to stop a particular message flow, this is little complex logic and u need to know flow uuid.
 _________________
 Kiran
 
 
 IBM Cert. Solution Designer & System Administrator - WBIMB V5
 IBM Cert. Solutions Expert - WMQI
 IBM Cert. Specialist - WMQI, MQSeries
 IBM Cert. Developer - MQSeries
 
 
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Balasubramani M | 
			  
				|  Posted: Sun Feb 23, 2003 11:05 pm    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 29 Nov 2002Posts: 7
 Location: Malaysia
 
 | 
			  
				| Hi, Thanks a Lot. It is working fine. But everyfew minutes the message flow is generating the error message and it is store into log file. Presently we are using the log file for finding out the error. But this message flow generates so many error message, that in turn affects to trace other error messages.
 
 Eventhough the Input queue is stopped,  the message flow is keep on checking the message from the input queue. so that the error message is generating into the log file. Is there any way to control the error message generating the message flow.
 
 Thanks
 
 with regards
 Balasubramani.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | yaakovd | 
			  
				|  Posted: Mon Feb 24, 2003 4:39 am    Post subject: |   |  |  
		  | Partisan
 
 
 Joined: 20 Jan 2003Posts: 319
 Location: Israel
 
 | 
			  
				| I have 4 messages for each disabled Q: 1. Immediately
 2. After 1 minute
 3. After 10 minutes
 4. After 3 hours
 _________________
 Best regards.
 Yaakov
 SWG, IBM Commerce, Israel
 |  |  
		  | 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
 
 |  |  |  |