Hi all,
May i, in Designer, access the enviroment variables set in Unix Shell? For example, if i have set in UNIX shell a enviromnent variable LOG, how can i access it in Designer?
Thanks in advance,
P.S.: I dont want to pass the variable LOG as a parameter.
NSP
Accessing enviromnent variables
UniVerse (DataStage engine) has an ENV command. You could execute the command ENV DISPLAY LOG and capture its output, perhaps using DSExecute with the shell argument set to "UV", this in a before/after subroutine or in a job control routine.
-----Original Message-----
From: Nuno Pimenta [mailto:nuno.pimenta@tmn.pt]
Sent: Wednesday, 01 August 2001 23:34
To: LIST-DataStage (E-mail)
Subject: Accessing enviromnent variables
Hi all,
May i, in Designer, access the enviroment variables set in Unix Shell? For example, if i have set in UNIX shell a enviromnent variable LOG, how can i access it in Designer?
Thanks in advance,
P.S.: I dont want to pass the variable LOG as a parameter.
NSP
-----Original Message-----
From: Nuno Pimenta [mailto:nuno.pimenta@tmn.pt]
Sent: Wednesday, 01 August 2001 23:34
To: LIST-DataStage (E-mail)
Subject: Accessing enviromnent variables
Hi all,
May i, in Designer, access the enviroment variables set in Unix Shell? For example, if i have set in UNIX shell a enviromnent variable LOG, how can i access it in Designer?
Thanks in advance,
P.S.: I dont want to pass the variable LOG as a parameter.
NSP