| Author | 
		  Message
		 | 
		
		  | iabarca | 
		  
		    
			  
				 Posted: Thu May 02, 2002 11:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 29 Apr 2002 Posts: 9
  
  | 
		  
		    
			  
				Hi,
 
 
I am working with AS/400 like server and NTworkstation like Client, when try run a program VB, I get an error with Reason Code 2059 MQRC_Q_MGR_NOT_AVAILABLE.
 
 
Any help is much appreciated. 
 
 
Yuri
 
 
 
PD: I had defined the Variable MQSERVER at the panel control/system/environment. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu May 02, 2002 11:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				After settign env. variables did you reboot ???? You must reboot for the system 
 
to recognize them
 
 _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | iabarca | 
		  
		    
			  
				 Posted: Thu May 02, 2002 11:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 29 Apr 2002 Posts: 9
  
  | 
		  
		    
			  
				Hi Jeff,
 
 
Yes, I rebooted the system. I defined var MQSERVER=fn-channel/tcp/ip address[ port number].
 
 
I need to define another variable?
 
 
Thanks , for your soon answer. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Thu May 02, 2002 12:30 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				What is that "fn-" in front of your channelname in the MQSERVER variable?
 
It shouldn't be there. Just channelname/tcp/hostname(port)
 
 
 
 _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | iabarca | 
		  
		    
			  
				 Posted: Thu May 02, 2002 1:11 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 29 Apr 2002 Posts: 9
  
  | 
		  
		    
			  
				OH Sorry.
 
 
Is okay, how do you say; Do You know if for the side AS/400, I need start the channel? the channel status must be in RUNNING? or what I need to do?
 
 
Thanks in advance
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Yuri | 
		  
		    
			  
				 Posted: Fri May 03, 2002 7:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 10 Apr 2002 Posts: 5 Location: U.S.A. 
  | 
		  
		    
			  
				Thanks Peter and everyone,
 
 
I solved my problem,
 
 
God bless you,
 
 
Yuri | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |