DELETE-SPOOLING-FILE

@DELETE-SPOOLING-FILE , A file is removed from the spooling queue of a spooling device. If it is a spooling file, its pages are released and returned to the pool of free spooling pages.
 * : the spooling device.
 * : the spooling queue file to be deleted.

Rules:
 * 1) Permitted only for user SYSTEM and the user who appended the file.
 * 2) Only the first name matching is removed.
 * 3) If the file is not a spooling file the command is equivalent to @REMOVE-FROM-SPOOLING-QUEUE.

Example:

@DELETE-SPOOLING-FILE L-P, L-P:;10

If the file L-P:;10 is in the spooling queue to L-P, it is deleted from the queue and if it is a spooling file, its pages are removed. In the latter case, the file will exist as an entry in the file system with no pages.

Related commands
@REMOVE-FROM-SPOOLING-QUEUE