Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set envirinment variable for the particular instance?

Status
Not open for further replies.

estersita

Technical User
Aug 5, 2004
50
US
Hi everybody,

I wonder if anybody can help me.

I need to set environment variable TWO_TASK to have the value for the instance ISY01B

WHAT should be the UNIX command string that I should issue?

Thank you in advance,

Estersita
 
Frederico, thank for the response

The thing is that I found the following command in help (I use csh)


setenv [ VAR [word]]

So I am trying to put:

setenv TWO_TASK ISY01B

...however after I use echo $TWO_TASK ....i got the following message:
undefined Variable

What I could do wrong?

Thanks,

Estersita
 
What unix system are you using? including version.

I have tryed
setenv TWO_TASK aaa
and then echo $TWO_TASK
and it worked fine.

This was on a Unixware 8 machine. with csh, both on the Unixware and Linux environment.




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top