DRAIN Use the DRAIN command to stop spooling operations on the specified real
unit record devices after the file currently being processed has
coapleted. This command brings the spooling system or a specified
.device to a controlled halt, or halts the activities on a device whose
spooling status is to be changed. For exaaple, all unit record devices
are usually drained before system shutdown, and a printer must be
drained before the contents of the UCS printer buffer are changed. A device is drained i.mediately if it is not active when the DRAIN
command is issued; otherwise, it is drained when processing of the
current file has completed. A drained device can be restarted by the
START command. If START is issued to a device before draining is
complete, the device does not enter the drained status but continues
processing. The format of the DRAIN command is:
DRain READER RDR PRINTER PRT PUNCH PCH r
, IReader I IPrinter I IPUnch I Iraddr ••• I Ii!!!! I L .I drains the reader.
drains the printer.
drains the punch. drains the real spooled. d.evices at "the"sp"eciflea" addiesfi"es (cuu). ftultiple addresses may be specified.
ALL drains spooled unit record devices in the systea. The following response occurs for each device that enters the drained
status.
{ PRT} raddr DRAINED SYSTEM PUN CLASS = a ••• { SEP} JOSEP RDR raddr DRAINED SYSTEft raddr is the real device address of the device drained.
a ••• are those output classes that
From one to four classes are
devices drained.
72 Vft/370 Operator's Guide
the drained device was serv1c1ng. displayed for printer or punch
ENABLE Use the ENABLE command to enable the following previously disabled or
nonenabled devices so users may access the VM/370 system: 3270 (locally attached only) and the 3138, 3148, and 3158 consoles. 2701, 2702, and 2703 (270x) 3704 and 3705 in Emulation Program mode only
Previously enabled lines are not affected by the ENABLE command.
This command affects only low speed communication lines with a data rate
not greater than 600 bps (bits per second). For 3704/3705 resources
running in NCP or PEP mode and 3270 remote devices, use the NETWORK ENABLE command. The format of the ENABLE command is:
ENable
{
raddr ••• }
ALL
raddr... are the addresses (cuu) of the lines that are to be enabled.
If more than one address is specified, each must be separated
from the others by one or more blanks.
ALL enables all previously disabled or non-enabled locally
attached 3270 display terminals and display copy printers
(3284/3286 etc.), 3704/3705 (Emulation Program mode only), and 270x lines.
Notes: Do not atteapt to enable terminal devices that are not supported as--VM/370 virtual machine system consoles. Non-supported console
devices can only be used as dedicated devices attached to
multiple-access system virtual machines. COMMAND COMPLETE Note: No error indication enabled. Issue the QUERY enabled.
is provided if no lines are available to be LINES command to see how many lines are Section 3. CP Commands 73
Previous Page Next Page