
Chapter 8 675
Command Definitions SP-Z
SUSPENDSPOOL
SUSPENDSPOOL
Suspends output to a spooled device.
Syntax
SUSPENDSPOOL ldev[ ;FINISH]
Parameters
ldev The logical device number of a spooled device.
FINISH Directs the device to complete the currently active spool file and then stop.
Operation Notes
When the spooler process is suspended, the message SP# ldev
SPOOLER SUSPENDED is displayed on the console. You may also determine the spooler's
status by entering SHOWOUT SP;JOB=@. If suspended, any spool files listed will be READY
for printing; none are ACTIVE, and a SHOWDEV of the spooled device indicates that the
device is still spooled. Refer to the SHOWOUT command in this manual.
When suspending an ACTIVE spool file, first take the output device offline. This gives you
time to enter the command and determine that the ACTIVE file is the one being printed. If
you issue SUSPENDSPOOL without taking the device offline, that file might finish printing
while you enter the command, and another file might start.
When your instruction has been sent to the spooler process, MPE/iX returns a colon
prompt (:). The command is not executed, however, until the output device is returned
online. Only then do you receive the SPOOLER SUSPENDED message.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing Break
has no effect on this command. It may be issued only from the console unless distributed to
users with the ALLOW or ASSOCIATE command.
Examples
To suspend printing on logical device 6, enter:
SUSPENDSPOOL 6
To suspend printing on logical device 6 once the currently active spool file is completely
printed, enter:
SUSPENDSPOOL 6;FINISH
Related Information
Commands RESUMESPOOL, SHOWOUT, SHOWDEV