To delete a server object handle, you must first disconnect from the PAS for OpenEdge instance. Once you have disconnected a server, you can release the associated server object handle by executing the DELETEOBJECT statement, as shown in the previous code examples.
Note: If you attempt to delete the server handle before disconnecting the server, OpenEdge returns an error to the client.