Author |
Message
|
siljcjose |
Posted: Fri Apr 17, 2009 12:18 am Post subject: Acessing System varibales from Compute node ESQL |
|
|
Apprentice
Joined: 18 Aug 2005 Posts: 27
|
Hi,
Can somebody, please let me know, if it is possible to accesses System variables ( set at the operating system level ) in a compute node.
I saw that it can be done from a Java compute node using the System class ( System.getenv) . Is something analogus availabe in ESQL as well.
Thanks for the help |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 17, 2009 12:25 am Post subject: Re: Acessing System varibales from Compute node ESQL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
siljcjose wrote: |
Can somebody, please let me know, if it is possible to accesses System variables ( set at the operating system level ) in a compute node.
|
AFAIK no (but I'm ready to be corrected by someone who knows better). You can obtain some information as shown here.
What information are you after? You might want to consider including other environment specific information as bar file overrides at deploy time. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
siljcjose |
Posted: Fri Apr 17, 2009 12:43 am Post subject: |
|
|
Apprentice
Joined: 18 Aug 2005 Posts: 27
|
I want information set on the System level , like the the Sytem varaibles we have MQCHLLIB or MQCHLTAB JAVA_HOME. I don't want to acesses the above variables, but info stored on one such variable. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 17, 2009 12:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Why would a broker flow need to know where the client table information is? Or where Java's installed? What's the requirement?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Apr 17, 2009 1:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There is a supportPac, GetAllEnvironmentVariables or some such.
There are significantly better places to store information for access by Broker flows, including in User Defined Properties. |
|
Back to top |
|
 |
|