Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Rodrigo Filipe — — source: Informix-list mailing list archive (1991-1998)
Try to insert the environment variable in a table, because there are no way
to receive the output of a "system" command in a SPL function
At 10:22 27-10-1999 -0700, Sujit.Pal@bankofamerica.com wrote:
>
>
>Tim
>
>Dont think that this is possible directly, but you can call a Perl/C/Shell
>program using SYSTEM to return the value of the environment variable.
>
>HTH
>Sujit
>
>
>
>
>
>tim.purcell@datelgroup.com on 10/27/99 07:20:48 AM
>
>Please respond to tim.purcell@datelgroup.com
>
>To: informix-list@iiug.org
>cc: (bcc: Sujit Pal)
>Subject: Environment variables in SPL
>
>
>
>Does anyone out there know if it's possible to pull an environment
>variable into a stored proc. The client may be a local UNIX user or a
>CLI connection. The DB is SE 5 or 7 (although OnLine suggestions will
>be useful)
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
>
>
>
>
>
>
>
>
Rodrigo Filipe
_____________________________
Informatica - Soporcel
"Soporcel Integration Project"
Telf. 1870
mailto:rfilipe@soporcel.pt
_____________________________
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.