Shutting Down an ESQL Small Client Application

Typically, to shut down an ESQL small client application, the client calls the sqllogout() function, which sends a message to the client’s OID to shut itself down. After it is clear that small clients are no longer logging in through an OIB, you can shut the broker down using the PROSHUT utility with the following syntax:

SYNTAX
proshut -SV -S service-name [ -H host-name ] [ -N TCP ] 

service-name

The name of the OIB that the -S parameter provides during broker startup.

Shutting Down Detached Open Interface Drivers

Occasionally, a small client terminates abnormally, leaving its OID running. If you know the service name of the OID (you started it manually):

  1. Locate the appropriate command (prooidrv -SV -S ...).
  2. PID with the UNIX ps command.
  3. Shut down the OID with the kill command.

Otherwise, you must wait until all small clients terminate. Then use ps to locate any remaining OID commands (prooidrv ...) and shut them down using the kill command.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095