| Author | 
		  Message
		 | 
		
		  | mq_pm | 
		  
		    
			  
				 Posted: Wed Sep 17, 2003 6:38 am    Post subject: mqseries using java | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 27 Aug 2003 Posts: 132
  
  | 
		  
		    
			  
				Hi,
 
 
  I am trying to place a 10MB file in the queue using java pgm.....but iam getting an error
 
 
MQ Java client error: CC is 2 RC is 2030
 
 
I am able to put 4MB file content but not more than that........can anyone suggest what can be done ........
 
 
 
Thank you | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | clindsey | 
		  
		    
			  
				 Posted: Wed Sep 17, 2003 7:12 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx 
  | 
		  
		    
			  
				The command 'mqrc' was added in MQSeries 5.2. It provides a very nice way to get text for a reason code. It is a good place to start in solving a
 
problem like this one. 
 
 
mqrc 2030 returns 'MQRC_MSG_TOO_BIG_FOR_Q'.
 
 
You need to increase the MAXMSGL parameter for the queue you are using.
 
 
Charlie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mq_pm | 
		  
		    
			  
				 Posted: Wed Sep 17, 2003 7:42 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 27 Aug 2003 Posts: 132
  
  | 
		  
		    
			  
				| yes i have increased the max length of the queue and the QM...............but still iam not able to put data more than 4MB............. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | clindsey | 
		  
		    
			  
				 Posted: Wed Sep 17, 2003 8:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx 
  | 
		  
		    
			  
				Is it a local or remote queue? You may need to increase the size on the channel and the xmit q as well or just on the channel for a SVRCONN channel. Also, I don't think it is required but if you have not bounced the QM since the change, you might stop and start it.
 
 
Charlie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mq_pm | 
		  
		    
			  
				 Posted: Wed Sep 17, 2003 8:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 27 Aug 2003 Posts: 132
  
  | 
		  
		    
			  
				Thank alot..............i changed the max length of the channel 
 
SYSTEM.DEF.SVRCONN and it is working............  | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |