| Author | 
		  Message
		 | 
		
		  | sharsh | 
		  
		    
			  
				 Posted: Thu Sep 19, 2002 6:55 pm    Post subject: Anybody know how to set up rfhUtilc? | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 21 Aug 2002 Posts: 3
  
  | 
		  
		    
			  
				I am trying to use rfcutilc, but getting 2059 error. I created both server and client connection in mq explorer, do I need to start the server connection? how?
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | warrenpage | 
		  
		    
			  
				 Posted: Fri Sep 20, 2002 12:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 19 Feb 2002 Posts: 56 Location: Australia 
  | 
		  
		    
			  
				Try something like this in a bat file
 
 
SET QMSERVER=SYSTEM.DEF.SVRCONN/TCP/machinename(port)
 
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/machinename(port)
 
 
CD c:\apps\mqsitest
 
 
rfhutilc
 
 
pause
 
 
I cant remember if the right one is QMSERVER or MQSERVER
 
Im not sure if this will work but its something like this that you need to set up | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | moogoo | 
		  
		    
			  
				 Posted: Fri Sep 20, 2002 11:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 20 Sep 2002 Posts: 54 Location: US 
  | 
		  
		    
			  
				Yes...create a server connection channel on the remote machine and fill in the MCAUSER with an id that you can access on their system.  Then create a client channel by using the MQSERVER variable and specify the IP, qmgr, and port of the system you wish to connect to.
 
 
MG | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TonyD | 
		  
		    
			  
				 Posted: Sun Sep 22, 2002 2:28 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 15 May 2001 Posts: 540 Location: New Zealand 
  | 
		  
		    
			  
				| Specify the QM you want to connect to in 'Queue Manager Name (to connect to), not 'Remote Queue Manager'.  Also, if you change the 'MQSERVER' value while RFHUTILC is running you need to restart it. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jdouch | 
		  
		    
			  
				 Posted: Tue Sep 24, 2002 8:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 31 May 2002 Posts: 32 Location: London, UK 
  | 
		  
		    
			  
				i also found that if you need to point to different qmgrs at the same time, you can do the following....
 
 
for qmgr 1 alter the MQSERVER variable - start rfhutil and point to that qmgr, and then for qmgr 2 ....
 
 
change the MQSERVER variable again start another instance of rfhutil for that qmgr.  both instances of rfhutil will work, pointing at the different qmgrs 
 
 
this saves having to keep changing the variable.    _________________ Julian Douch
 
E-business Solutions Consultant
 
 
WMQ/WMQI Specialist | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |