| Author | 
		  Message
		 | 
		
		  | brian_r | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 2:42 am    Post subject: Character Limit on amqsput | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 28 Jan 2008 Posts: 31 Location: Dublin 
  | 
		  
		    
			  
				Hi All,
 
 
When running amqsput from a command line theres seems to be a character limit of 99 characters. So if I enter a message longer than 99 chars its put into a new message.
 
 
I originally thought this was a queue parameter setting but its not as external applications can put more than 99 chars. So am I right in saying it could be something to do with my Unix session settings (Ive tried putty and Exceed) Or maybe something to do with amqsput settings but I dont think I can change this and cant find any documentation anywhere.
 
 
Thanks in advance for your help
 
 
Brian    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 2:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				It's amqsput.
 
 
There is a queue setting, as well.
 
 
But this is purely what amqsput does. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 2:50 am    Post subject: Re: Character Limit on amqsput | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| brian_r wrote: | 
   
  
	When running amqsput from a command line theres seems to be a character limit of 99 characters. So if I enter a message longer than 99 chars its put into a new message.
 
 | 
   
 
 
 
The amqsput is only a sample, and has an artificial limit of 100 characters. If you want bigger messages, just change it - IMHO most people do.
 
 
Or use one of the other free tools to put your message. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 2:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	| There is a queue setting, as well. | 
   
 
 
 
Yes, but won't come into play at these sorts of sizes....    _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 2:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| Vitor wrote: | 
   
  
	
   
	| mqjeff wrote: | 
   
  
	| There is a queue setting, as well. | 
   
 
 
 
Yes, but won't come into play at these sorts of sizes....    | 
   
 
 
 
Unless it's very small. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu Jun 04, 2009 3:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	
   
	| Vitor wrote: | 
   
  
	
   
	| mqjeff wrote: | 
   
  
	| There is a queue setting, as well. | 
   
 
 
 
Yes, but won't come into play at these sorts of sizes....    | 
   
 
 
 
Unless it's very small. | 
   
 
 
 
Yes, yes, fair point, I conceed that if it's been changed from the default to a much smaller value it could become an issue. 
 
 
Though for the benefit of the less experienced readers I feel obliged to point out this would result in a failure reason code from amqsput rather than the input being split over multiple messages. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |