Requests with the following statuses can be deleted from the request file using the HSMS statement DELETE-REQUESTS:
COMPLETED (requests which have already been processed completely).
INTERRUPTED (requests that have been started but also interrupted).
ACCEPTED (requests waiting for reactivation (“scheduling”)).
CANCELLED (requests that have been accepted but aborted before the start).
STARTED (requests that have been started and are currently running).
Requests which are to be deleted can be selected by means of attributes, as in the SHOW-REQUESTS statement. *ANY selects all requests which have the COMPLETED, INTERRUPTED, ACCEPTED or CANCELLED status. They can also be deleted via the mask output of the SHOW-REQUEST statement. The requests which are to be deleted are selected with a special delete flag.
For information on deleting requests to shared pubsets, see section "Request management for shared pubsets".
Requests with the status STARTED are not deleted immediately. Before a started request is deleted, a deletion message is sent to the HSMS server task that is processing the request. The HSMS server task checks the deletion message and aborts once it has been read. However, since the deletion message does not have any priority, it cannot be read if the HSMS server task, for example, is locked in a security queue. As a result, the started request is not deleted immediately but only after a few minutes.
Requests with status COMPLETED which are older than the value set as KEEP-REQUESTS are automatically deleted by an implicit recovery at the start of each HSMS session. For more details on this, see section "Recovery of requests after a host crash".