Environment variable are not seen outside of file [Closed]

Posts
16
Registration date
Monday April 17, 2017
Status
Member
Last seen
March 28, 2018
- - Latest reply: ac3mark
Posts
13036
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
- Mar 28, 2018 at 04:00 PM
Hello,

I'm using a csh shell script for some automation, but the environment variables I set with setenv command are not seen outside the script!
Any ideas?

Thank you

See more 

1 reply

Posts
13036
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
1453
0
Thank you
What other system's need the variables?

Save the variables to a file, and call the variables from the script, and point your other systems to the file. Now if the variables change, you make one change.


You have given us very limited details, and this is about as generic as it can get!