Re: Closing OnLine session
Posted in 1997
In article <5kl18a$p5f@cssun.mathcs.emory.edu>, Jonathan Leffler <johnl@informix.com> writes >David Williams <djw@smooth1.demon.co.uk> asks: >>[...information about disconnecting a database engine using sqlexit()...] >>>(4) DISCONNECT only works with 6.00 and later servers, whereas sqlexit() >>> works with earlier versions too. >> >> What do you use to reconnect under 4GL version 4?? >> Would a DATABASE <mydbname> reconnect you to the engine?? > >Yes! > >After sqlexit() is used, the ESQL/C library knows it has no active database >connection, so it has to restart the engine when you run a DATABASE statement. > >Yours tersely, >Jonathan Leffler (johnl@informix.com) #include <disclaimer.h> I have tried sqlexit but I my sqlexec turns into a defunct process. If I do a wait afterwards the defunct process goes away and no errors occur.. -- David Williams