You can delete a remote persistent procedure that you have executed asynchronously just like one you have executed synchronously, using the DELETE OBJECT or DELETE PROCEDURE statement. However, for an asynchronous procedure, the delete request raises an ERROR condition if the ASYNC-REQUEST-COUNT attribute on the proxy procedure handle is greater than zero (0). If ASYNC-REQUEST-COUNT is zero (0), the local proxy procedure handle is deleted immediately.
If an asynchronous request for another procedure is executing in the AppServer agent at the time of the delete request, the delete request is queued on the AppServer until the AppServer agent becomes available to delete the remote persistent procedure.