Re: sqlturbo on remote server
Posted in 1996
INFORMIX writes: * * Hi, * * My 4gl program open a local database ( 4.13, OnLine 5.05, Unix) and * occasionally select some rows from remote database (via Informix Stars) using * cursor ( .... select xx from dbname@serwer:table .... ) * The sqlturbo process on remote machine disappears when program ends, not * when I close a cursor. * How to force sqlturbo end on remote machine. * * Thanks in advance * Michal Pegierski, informix@tvp.com.pl Call the sqlexit routine, in the form of a C function. Link this into your program or create a new runner with this in it. To use: CALL shutdown_engine() /* SHUTDOWN.C - shut down the sqlturbo/sqlexec */ extern int forkflag; shutdown_engine(n) int n; { if ( forkflag ) sqlexit(); } HTH, Thanks, ----------------------------------------------------------------------------- Robert Minter Data Systems Support Senior Software Engineer A Client Technologies Company E-Mail: rob@dssmktg.com Tel: 714.771.0454 Fax: 714.771.3028 #include <std_disclaimer.h> http://www.dssny.com