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.

SET RDEVICE CLEAR<br />

►►<br />

Set<br />

Authorization<br />

Purpose<br />

RDEVice<br />

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

Usage Notes<br />

Examples<br />

rdev<br />

rdev1-rdev2<br />

Privilege Class: B<br />

Use SET RDEVICE CLEAR to clear the information in the real device control block<br />

(RDEV) for a specific device or range of devices. After you issue this comm<strong>and</strong>, <strong>CP</strong><br />

clears out all of the information in the RDEV except for the:<br />

v Count of granted lock requests<br />

v Count of deferred lock requests<br />

v Device number<br />

v Enqueued task<br />

v Free storage RDEV indicator<br />

v Missing Interrupt H<strong>and</strong>ler control block<br />

v Monitor flags<br />

v RDEV lock<br />

v Size of RDEV<br />

v Subchannel disabled indicator<br />

v Subchannel identifier<br />

v Subchannel measurement block address<br />

v Subchannel measurement block index<br />

v Task requesting lock<br />

v Valid device indicator<br />

rdev<br />

rdev1-rdev2<br />

specifies the real device number or a range of real device numbers that you<br />

want cleared. The variable rdev must be a hexadecimal number between<br />

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

1. Only devices whose characteristics can be determined dynamically (sensed),<br />

can be directly varied online after a clear has been performed.<br />

2. For those devices whose characteristics cannot be determined dynamically,<br />

another SET RDEVICE must be performed to define the device before it can be<br />

varied online.<br />

Note: To determine if the given device(s) can be dynamically sensed, see 'Defining<br />

I/O Devices in the System Configuration File' in the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong><br />

Administration.<br />

Example 1:<br />

CLear<br />

SET RDEVICE CLEAR<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!