Chapter Contents

Previous

Next
SAS/CONNECT User's Guide

Query a Connection Object

The event types returned by the _query method are CONNECT, MESSAGE, DISCONNECT, and ABORT.

If a CONNECT event is returned from the _query method, it means that a client application has initiated a connect so that it can communicate with the server application. The server application can then use the returned connection_object parameter for subsequent queries from that specific user.

call send(connection_object, '_query', eventtype, 
          msgtype, attach_list, rc);

If a MESSAGE event is returned by the _query method, the server receives the MESSAGE and responds.

If a DISCONNECT event is returned by the _query method, the specific client application has terminated the connection and the connection object is deleted.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.