|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  MQGET with SYNCPOINT - UOW | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | cferreira | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 7:27 am    Post subject: MQGET with SYNCPOINT - UOW | 
				     | 
			   
			 
		   | 
		 
		
		    Newbie
 
 Joined: 20 May 2002 Posts: 7 Location: Rio de Janeiro, Brazil 
  | 
		  
		    
			  
				Hello people !
 
 
I´m not a specialist in MQ, so I´m here again with a question.
 
 
I work programming with MQSeries client for AT&T GIS UNIX - NCR, The release is v 2.1-1996.
 
I developed an application using UOW with SYNCPONT to put messages in the queues. This program runs perfectly without errors, doing properly backouts and commits. 
 
 
Now I developed a similar program using UOW with SYNCPOINT to GET messages from the queues.
 
There is a problem, that I can´t resolve without your help,  friendly MQ specialists !
 
 
For example, after I call 3 or 4 times MQGET with SYNCPOINT and then call MQBACK to restore messages to que queue, the MQBACK function returns Completion code = 0 and Reason code = 0
 
but the the messages don´t go again to que queues !!!  
 
 
Seeking and searching MQ´s manual I found a QMODEL attribute called 'BackoutThreshold' now its value is 0. 
 
 
Questions :
 
1)  Is this the cause of my problem ? I have to modify this value ?
 
2)  In positive answer, 
 
       2.1) there is the same attribute for each queue in the queue 
 
             manager, so I have to modify this value for each queue ?
 
 
       2.2) How to calculate an appropriate value for this attribute, or which 
 
              is more common to use ?
 
3)  In Negative answer,
 
       How to resolve this problem using SYNCPOINT ? 
 
       My MQI is too old and doesn´t exist MQBEGIN
 
 
 
 
regards,
 
Claudio Ferreira _________________ Claudio Ferreira
 
 
Senior System Analyst | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bduncan | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 7:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Padawan
 
 Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley 
  | 
		  
		    
			  
				Are you using MQClient for the MQGETs as well, or is your applicaton connecting directly to the queue manager?
 
Also, MQBEGIN is only used during transaction coordination (XA) so it sounds like you don't need to worry about using it. _________________ Brandon Duncan
 
IBM Certified MQSeries Specialist
 
MQSeries.net forum moderator | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | cferreira | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 10:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Newbie
 
 Joined: 20 May 2002 Posts: 7 Location: Rio de Janeiro, Brazil 
  | 
		  
		    
			  
				Hello Brandon,
 
 
My Application is using MQClient to connect MQServer installed in another machine. _________________ Claudio Ferreira
 
 
Senior System Analyst | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 12:24 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				The backout threshold is not used by MQSeries for anything. It is there 
 
for applications to look at to decide at what point to give up on a bad message. _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | cferreira | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 3:04 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Newbie
 
 Joined: 20 May 2002 Posts: 7 Location: Rio de Janeiro, Brazil 
  | 
		  
		    
			  
				Thanks for attention Brandon,  and Jeff for the explanation of backout threshold. Although the problem persists. _________________ Claudio Ferreira
 
 
Senior System Analyst | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |