Reading Envrironment Variable in Local Variable
Posted: Wed Mar 13, 2013 10:33 am
Hello,
I have a required where I need to assign the environment variable into local variable..
For e.g.
Environment Variable
$NM_USER=U1
$NM_USER1=U2
In Master Sequncer I have one variable USER. Based on the condition I want to read the value as
USER=$NM_USER or USER=$NM_USER. The output should be Either U1 or U4, Please advise how can I get it done.
I tried the above mentioned point and the output I am getting is $NM_USER not U1.
Regards
Neeraj
I have a required where I need to assign the environment variable into local variable..
For e.g.
Environment Variable
$NM_USER=U1
$NM_USER1=U2
In Master Sequncer I have one variable USER. Based on the condition I want to read the value as
USER=$NM_USER or USER=$NM_USER. The output should be Either U1 or U4, Please advise how can I get it done.
I tried the above mentioned point and the output I am getting is $NM_USER not U1.
Regards
Neeraj