MPE/iX Commands Reference Manual (32650-90864)

Chapter 3 181
Command Definitions C-E
DELETESPOOLFILE
DELETESPOOLFILE
Deletes a spoolfile from disk.
Syntax
DELETESPOOLFILE{#Onnn #Innn ldev }
Parameters
#Onnn The identification of a READY or ACTIVE output spoolfile.
#Innn The identification of a READY, input spooled data file.
ldev The logical device number on which the spoolfile is ACTIVE.
Operation Notes
Before deleting an ACTIVE spoolfile, first take the output device offline. This allows you
time to enter the command and determine that the ACTIVE spoolfile corresponds to the
correct output device. When MPE/iX returns the colon prompt (:), you know that the
DELETESPOOLFILE command instruction has been sent to the spooler process. It is not
executed, however, until the output device is put back online.
You may not use the DELETESPOOLFILE command on the following type of files:
System-defined standard input spoolfiles ($STDIN). Delete them with the ABORTJOB
command.
ACTIVE spoolfiles with data input, entered with the STREAM command. You may delete
these only when they are READY. You may not delete these files when they are OPEN.
The DELETESPOOLFILE command deletes ACTIVE data input files that are submitted on a
spooled device. It cannot delete such files while they are being streamed.
Use
This command may be issued from a session, program, or in BREAK. It may not be issued
from a job. Pressing
Break has no effect on this command. This command may be used only
from the console unless distributed to users with the ALLOW or ASSOCIATE command.
Example
To delete the ACTIVE spoolfile being printed on LDEV 6, first take the printer offline. This
generates a NOT READY message at the console, after which you may enter the
DELETESPOOLFILE command, as shown below:
11:21/7/LDEV#6 NOT READY
DELETESPOOLFILE 6