27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DRAIN UR (Unit Record Device)<br />

►►<br />

DRain<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

UR<br />

ALL<br />

Printer<br />

PRT<br />

prtid<br />

PUnch<br />

PCH<br />

▼ rdev<br />

Reader<br />

RDR<br />

Privilege Class: D<br />

Use DRAIN (unit record device) to stop spooling operations on specified real unit<br />

record devices.<br />

Note: Spooling operations stop when the current file finishes processing.<br />

UR<br />

tells <strong>CP</strong> you want to drain a real unit record device.<br />

ALL<br />

drains all spooled unit record devices in the system. ALL is the default.<br />

Printer<br />

PRT<br />

PUnch<br />

PCH<br />

Reader<br />

RDR<br />

drains all printers, punches, or readers.<br />

rdev<br />

is a real device number or list of real device numbers of the real spooled<br />

devices that you want drained. Each rdev must be a hexadecimal device<br />

address between X'0000' <strong>and</strong> X'FFFF'.<br />

DRAIN UR<br />

prtid<br />

indicates that the entire comm<strong>and</strong> is to be passed for processing to the print<br />

server virtual machine designated by prtid. The value of prtid is provided by the<br />

print server virtual machine that will enter the DRAIN comm<strong>and</strong> to an AFP .<br />

The value is one to eight alphanumeric characters long. If you specify a value<br />

of four or fewer characters, prtid cannot contain only hexadecimal characters<br />

because <strong>CP</strong> then interprets prtid as rdev.<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 343

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!