What do u want to do with ? If u r trying to capture appserver envirnmenrt when it runs a job !
You run a NSH Script job based on a script that prints Env variables
e.g in perl based script I will use %ENV and check all the keys !
or in linux i will invoke env command !
Sorry is I was not clear. I am looking for a document containing the environment variable list and their use.
Search the forums for 'cheat sheet' there are some documents for nsh related env variables.
The other env variables useful are related to blcli , which you should find in blcli help starting sections.
I don't think there is any other use of any other environment variables.
I did that first. Not having had any luck after an hour, I posted the question. Thanks Rohit.
Still not clear what do u want to do with the ENV variables ?????
See this for NSH cheat sheet which may have NSH ENV variables
For blcli env variables
go to BLCLI HELP
u will find list of options with ENV variables where ever they are applicable,
This issue really is not what I want to do with the preset ENV variables, it is actually just wanting to locate documentation that tells me what they are, all that are available after all, anybody can set an environment variable to contain whatever they want.
What I am looking for is the discovery of what is available, why it is being used, what benefit would I obtain... Back to he original two variable set NSH_RUNCMD_HOST and NSH_RUNCMD_DIR... I know that $NSH_RUNCMD_HOST is loaded with the current host running the nsh script. This would negate me from necessitating the use of nexec -e hostname because it is a pre-built variable containing that information.
I amd trying to find all such items that make life simpler.
I understand that. The only other environment variables apart from these two which are known to me and I have found useful are related to the BLCLI, like RBAC Role. Did you try looking at the blcli help ?
1 of 1 people found this helpful
I don’t think we have a master list of these variables anywhere. You should open a ticket w/ bmc support and ask that this be added to the product documentation.
Thanks - I'll open a ticket today.