Find a environment variable Value !

There is shell script which contains some variables .
These variables are used , but they have not declared in the script.
I think its a environment variable, so I want to know where these variables are set and given values
In .profile or .login..or where to c

Please give the full path and file name to look for these environment variables.

Thanx
bharani

Duplicate Posts are not allowed. See the rules.