Re: Unix Environment when executing a SYSTEM command
Posted in 1998
Roger Tomas — — source: Informix-list mailing list archive (1991-1998)
Leffler, Jonathan wrote: > <snip> > JL: You have a couple of choices. One is to ensure that the relevant environment is available > when the OnLine system is booted. The other is to run commands from the SP with a pathname > which is fixed across all systems (use symlinks to fix the location on other machines), and the > script can set the environment etc using all the technology available to scripts in general. > > Yours, > Jonathan Leffler (jleffler@visa.com) #include <bother.ms-exchange.h> How about creating a table in which environment variable settings are stored - possibly on a per-machine basis. The SP could look up the path and use it to invoke the ESQLC program. Roger Tomas AG Communication Systems