Author |
Message
|
WBI_user |
Posted: Fri Jun 29, 2007 12:53 pm Post subject: IA9C on WMB V6 |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
Has anyone tried IA9C Get Environment Variable Node on WMB V6 ? The document says it is for V5 and V5.1. |
|
Back to top |
|
 |
mlafleur |
Posted: Fri Jun 29, 2007 1:34 pm Post subject: |
|
|
Acolyte
Joined: 19 Feb 2004 Posts: 73
|
Yes, we use it and it still works. |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 27, 2009 4:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Is there any standard way to access System Environment variables on WMB 6.1?
Or is there a better way to define platform specific information that can be accessed at runtime in ESQL?
Can "Configurable Services" be used to do this?
We don't have WSRR. |
|
Back to top |
|
 |
Luke |
Posted: Thu Aug 27, 2009 5:12 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
Most of what was available through this support pac is now accessible from ESQL and Java directly - see Broker properties in info center.
This will tell you what platform you're on, software version, broker name etc.
Guess it depends what variables you need to access ... |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 27, 2009 5:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I need a file path name that may be different on each platform, but it is in an AIX environment variable. |
|
Back to top |
|
 |
Luke |
Posted: Thu Aug 27, 2009 6:30 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
Hmm, not sure if you can get that. User Defined Property would be the obvious answer, although I'm personally not a big fan as people tend to forget to set them/change them. You could script that of course.
Only other thing that springs to mind is using a DB table, cached for performance. This could hold say Broker name as your key and your variable as value. Then you can get the Broker name from Broker properties and select the relevant variable from your long-lived variable ...
Someone else may have a better solution though ... |
|
Back to top |
|
 |
jbanoop |
Posted: Thu Aug 27, 2009 6:34 am Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
I guess you could get environment variable using java.
I am not sure if that answers the question though. |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 27, 2009 6:57 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Would that work in a Java Compute node?
However Configurable Services are looking like the most suitable option to avoid bar file changes.
This is a new feature of WMB 6.1 |
|
Back to top |
|
 |
|