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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET RDEVICE<br />

Authorization<br />

Purpose<br />

Usage Notes<br />

Privilege Class: B<br />

SET RDEVICE<br />

Use SET RDEVICE to add, change, or clear the system’s definition of a set of real<br />

devices.<br />

The following sections describe the syntax of SET RDEVICE comm<strong>and</strong>s for clearing<br />

real devices <strong>and</strong> for adding <strong>and</strong> changing these real devices:<br />

v Advanced function printers<br />

v Card punches<br />

v Card readers<br />

v Communication controllers<br />

v DASDs<br />

v Graphic display devices<br />

v Impact printers<br />

v Integrated communication adapters<br />

v Special devices<br />

v Tape units<br />

v Unsupported devices<br />

v 3270 displays<br />

v 3800 printers.<br />

1. Once you have defined a device at a certain address, you can replace that<br />

device with another device of a different class. The following are considered to<br />

be discrete device classes:<br />

v DASDs<br />

v Graphic display devices<br />

v Special devices (3088s, CTCAs, 37x5)<br />

v Special switching devices<br />

v Tape drives<br />

v Terminals<br />

v Unit record devices.<br />

2. If you change the type of device for a given device address, the features<br />

previously defined for that device are returned to their defaults. When you<br />

change any feature other than device type for the device at a certain address,<br />

however, the other features remain the same. For example, assume you have<br />

an <strong>IBM</strong> 3800 Model 1 printer defined at address 0500 <strong>and</strong> CHARS GF10 <strong>and</strong><br />

AFP YES specified <strong>and</strong> you want to replace it with an impact printer. When you<br />

use the SET RDEVICE TYPE IMPACT_PRINTER comm<strong>and</strong> to tell <strong>CP</strong> the new<br />

printer is in place, <strong>CP</strong> resets all the other features to their defaults. If you leave<br />

the 3800 printer in place, however, <strong>and</strong> use SET RDEVICE to specify a flash<br />

overlay (SET RDEVICE ... FLASH flashlib), <strong>CP</strong> leaves all the other features<br />

unchanged.<br />

3. You must use the VARY comm<strong>and</strong> to take a device offline before you can<br />

redefine it.<br />

4. By default, <strong>CP</strong> issues a sense ID request to gather information about the device<br />

that you are defining or changing. If you prefer to explicitly define or change the<br />

device, you can stop <strong>CP</strong> from issuing the sense ID request by specifying the<br />

NOTSENSED oper<strong>and</strong>. The only exception is the SET RDEVICE Unsupported<br />

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

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

Saved successfully!

Ooh no, something went wrong!