| Author | 
		  Message
		 | 
		
		  | bigmq | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 5:21 am    Post subject: error message help! | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 14 Sep 2004 Posts: 19
  
  | 
		  
		    
			  
				HI, all
 
i downloaded one of the sample codes from this forum which is mqbrowse, and i tried to run at the IBM WebSphere MQ for linux V5.3, but i got the error message as follows:
 
 
MQJE001: Completion Code 2, Reason 2058
 
MQ exception: CC = 2 RC = 2058
 
 
Can someone help me what these messages mean, and how do i get the information about the error message when i run the mq java program.
 
 
Thanks a million! | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JLRowe | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 5:35 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 25 May 2002 Posts: 664 Location: South East London 
  | 
		  
		    
			  
				Have you done a search for 'Reason 2058' on this forum?
 
 
or are you just leeching off people's karma? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bigmq | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 10:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 14 Sep 2004 Posts: 19
  
  | 
		  
		    
			  
				Thanks anyway, i figure it out myself.
 
But now i am getting  reason code 2033 even though i already put some message into the queue. Do u know why?
 
Thx | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 10:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				| What are the options you specified on the OPEN and on the GET? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bigmq | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 10:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 14 Sep 2004 Posts: 19
  
  | 
		  
		    
			  
				openoptions is MQC.MQOO_INPUT_EXCLUSIVE | MQC.MQOO_BROWSE
 
getMessageoptions is MQC.MQGMO_WAIT | MQC.MQGMO_BROWSE_FIRST
 
 
Thx | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 11:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				| Can you verify if there are messages on the queue by issuing amqsbcg | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bigmq | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 12:34 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 14 Sep 2004 Posts: 19
  
  | 
		  
		    
			  
				Hi, vennela
 
Yes, i figure it out, thanks
 
here is another question, can i send a file into queue, like a xml file? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | siliconfish | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 1:33 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 12 Aug 2002 Posts: 203 Location: USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | siliconfish | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 1:35 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 12 Aug 2002 Posts: 203 Location: USA 
  | 
		  
		    
			  
				| u can also use MA01: WebSphere MQ - Q program | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Fri Sep 24, 2004 1:48 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| here is another question, can i send a file into queue, like a xml file? | 
   
 
 
Well the above two posts are ways of doing it. 
 
I read the question differently though. 
 
You can definitely send a file as a message to a queue. Whatever format your file maybe, you can put. After you do the get you will have to reconstruct it back. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |