Programming Guide |
Closes a declared connection
DBMS CLOSE CONNECTION [connection
]
connection
- Name of connection to be closed. If connection name is not included, the default connection is closed.
Executing
DBMS
CLOSE CONNECTION
closes all open cursors associated with the named or default connection, logs off the connection from its database engine, and frees the connection data structure.
// This procedure unsets the error handler and
// then closes the specified connection.proc logoff
DBMS ONERROR
DBMS CLOSE CONNECTION c1
return
CLOSE_ALL_CONNECTIONS
,dm_is_connection