STOPSPOOL


STOPSPOOL

     Terminates spooling to a specified device or device class. (CM)

SYNTAX


STOPSPOOL [{ldev[;OPENQ]}]
{devclass }


PARAMETERS


ldev The logical device number of a spooled device. The
spooler process gives up ownership of the spooled
device. If the OPENQ parameter is omitted, the
device becomes available only for non-spooled I/O
(except for HP2680 and HP2688 page printers,
which are never assigned to non-spooled user processes).

devclass The device class specified in system I/O
configuration. When used, it applies to all
devices belonging to the device class
specified. Subsequent I/O directed to this
device class will not take place to/from a
spoolfile. I/O will go directly to/from a logical
device if one is available within the device class.
If none is available, the program will be unable to
open the file.

OPENQ May be specified with the ldev parameter only. The
spooler process will leave the queue OPEN, or will
open the queue if previously shut. Default is SHUTQ.


OPERATION


You may use the STOPSPOOL command to stop the spooling process for
a specified device and for any and all device classes associated
with it. When devclass is issued with STOPSPOOL, the command
applies to all devices that belong to the device class specified.
It would be as though a STOPSPOOL command were issued for each
individual device. When you specify ldev, however, you may shut
the spooling queue or leave it open. Default is SHUTQ.

This command may be issued from a session, job, in BREAK, or
from a program. 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 commands.


EXAMPLE(S)

     To terminate spooling to logical device number 6 and cause
the spooler process to relinquish control of that device,
enter

STOPSPOOL 6

To terminate spooler processes for all devices in class LP, also
closing their queues, enter

STOPSPOOL LP

To terminate spooling on device 6 and leave the queue open, enter

STOPSPOOL 6;OPENQ

ADDITIONAL INFORMATION

Commands:   STARTSPOOL, SPOOLER

Manuals : Performing System Operation Tasks (32650-90137)