| Author | 
		  Message
		 | 
		
		  | vairavan | 
		  
		    
			  
				 Posted: Thu May 28, 2009 3:54 pm    Post subject: Reading Environment variables | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 22 Apr 2008 Posts: 42
  
  | 
		  
		    
			  
				Is there any way to read the Broker Environment variable from Compute node?
 
 
Environment Variable - MQSI_FILENODES_ROOT_DIRECTORY
 
Actually I need this value to set up the file path.
 
 
I am using Broker version 6.1.0.3
 
 
Do I need to have any plugins for getting this variable?
 
 
Thanks,
 
Vairavan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Gaya3 | 
		  
		    
			  
				 Posted: Fri May 29, 2009 12:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US 
  | 
		  
		    
			  
				learn about LocalEnvironment properties.
 
 
Search this forum too. _________________ Regards
 
Gayathri
 
-----------------------------------------------
 
Do Something Before you Die | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Fri May 29, 2009 1:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				| ... why do you need this inside your flow? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vairavan | 
		  
		    
			  
				 Posted: Mon Jun 01, 2009 5:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 22 Apr 2008 Posts: 42
  
  | 
		  
		    
			  
				Actually I need this inside the flow in order to know which folder has been set as base path and based on that, I will be deciding the Output path.
 
 
And I have seen about Localenvironment properties, But I could n't get anything related to this.
 
 
I have read that we need a plugin GetEnv node, which will give read this property and give the value. But Is there any other alternative to get this value, without having plugins.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Jun 01, 2009 6:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				| Just set the Output path based on a User Defined Property of the flow. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |