What does the $ in front of environment variables do?
Moderators: chulett, rschirm, roy
What does the $ in front of environment variables do?
Sometimes I see the $ in front of environment variables, but at other times it's not there. What is the difference?
Todd Ramirez
Sr Consultant, Data Quality
San Antonio TX
Sr Consultant, Data Quality
San Antonio TX
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
It is not sometimes.All Cutomize,Parallel,Compiler,Operator Specific,Reporting and User Defined environment variables(that are defined at project level) are starts with $ but the environment variables which you explicitly define in your job properties,it does not required $ sing.
It is not sometimes.All Cutomize,Parallel,Compiler,Operator Specific,Reporting and User Defined environment variables(that are defined at project level) are starts with $ but the environment variables which you explicitly define in your job properties,it does not required $ sing.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The conventions for shell and environment variables in UNIX is:
- when the variable is named, it is not preceded with $
when the value of the variable is retrieved, the variable name is preceded with $
Last edited by ray.wurlod on Wed Apr 17, 2013 2:41 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.