To delete a server object handle, you must first disconnect from the AppServer or application service. Once you have disconnected an AppServer, you can release the associated server object handle by executing the DELETE OBJECT statement, as shown in the previous code example.
Note: If you attempt to delete the server handle before disconnecting the AppServer, OpenEdge returns an error to the client.