Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Application Development with PAS for OpenEdge : Programming the Progress Application Server for OpenEdge : Understanding remote procedure handles : Deleting remote procedures
 
Deleting remote procedures
As with local persistent procedures, a remote persistent procedure context remains active within a server session (binding that session to the client) until it is deleted using the DELETE OBJECT or DELETE PROCEDURE statement. You can thus delete a remote persistent procedure in the server session by deleting its remote procedure handle. If the delete occurs in the context of a remote procedure request, the deletion is pending until the request completes and returns to the client. When the remote persistent procedure is finally deleted, both its proxy procedure handle on the client and its remote procedure handle in the server session are deleted together.
In the case of a remote single-run or singleton procedure, DELETE PROCEDURE only deletes the proxy handle on the client. This is because a single-run procedure is deleted automatically by the server session, and a singleton procedure can be running in more than one server session, where it can be deleted using ABL code running in the session.