DELETESPOOLFILE [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Commands Reference Manual Volume I
DELETESPOOLFILE
Deletes a spoolfile from disk.
Syntax
{#Onnn}
DELETESPOOLFILE {#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
When you put the device back online, the trailer page is printed, and the
file deleted. If you have suppressed header/trailer output with the
HEADOFF command, no trailer is printed before the spoolfile is deleted.
However, the printer skips to the top of the next physical page. If the
device is a page printer, the default environment is reloaded.
Related Information
Commands ALTSPOOLFILE
Manuals Native Mode Spooler Reference Manual (32650-90166)
MPE/iX 5.0 Documentation