Re: system call from stored procedure
Posted in 1998
In article <70li2a$9ke@venice.dh.trw.com>, Steve Cook <steve.cook@trw.com> writes >I have a stored procedure that does a system call to execute a program. >When >the system call invokes a shell, the environment variables from my informix >login are not passed as I thought they would. One of the environment >variables >points to a needed shared library, so it is required in order to run. > >[I'm running online, if that makes a difference] > >Any ideas? Thanks in advance... > > Put the name of the libary in a configuration file which has a hard- coded name.. You cannot rely on environment variables being set when programs are run for stored procedures.. -- David Williams Maintainer of the Informix FAQ Primary site (Beta Version) http://www.smooth1.demon.co.uk Official site http://www.iiug.org/techinfo/faq/faq_top.html I see you standin', Standin' on your own, It's such a lonely place for you, For you to be If you need a shoulder, Or if you need a friend, I'll be here standing, Until the bitter end... So don't chastise me Or think I, I mean you harm... All I ever wanted Was for you To know that I care