Re: Closing OnLine session
Posted in 1997
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
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>