As with local persistent procedures, a remote persistent procedure context remains active within an AppServer session until it is deleted using the DELETE OBJECT or DELETE PROCEDURE statement. You can thus delete a remote persistent procedure in the AppServer 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 AppServer agent 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 AVM, and a singleton procedure can be running on more than one AppServer agent, where it can be deleted using ABL code running on the agent.