Informix 5.x .Stored Procedure problem. Help !!!
Posted in 2000
Topics: Stored Procedures & SPL
Hi All!! I have a Stored Procedure , which calls executable.Everything works fine if we working with instance 1, because path to this executable hardcoded in SP. If we change our instance to instance 2, SP still looking for executable in same direcory of instance 1 and fail. For each instance we need to change our path in SP. As far as I know there is no Trim or whatever squeeze functions in this ver. of Informix. How can I do my path flexible? Regards Igor
Hi! Can you put this in a table in the database? Michael Igor wrote: > Hi All!! > > I have a Stored Procedure , which calls executable.Everything works > fine if we working with instance 1, because path to this executable > hardcoded in SP. If we change our instance to instance 2, SP still > looking for executable in same direcory of instance 1 and fail. > For each instance we need to change our path in SP. > As far as I know there is no Trim or whatever squeeze functions in > this ver. of Informix. > How can I do my path flexible? > > Regards > > Igor
On Thu, 23 Mar 2000 17:37:20 GMT, Michael Krzepkowski <michaelk@sqlcanada.com> wrote: >Hi! > >Can you put this in a table in the database? > >Michael > Yes. I do it during Stored Procedures installation.Then call it from SP . Works. Thanks. Igor