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.

VARY (Real Device)<br />

VARY (Real Device)<br />

►►<br />

VARY<br />

Authorization<br />

Purpose<br />

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

ONline<br />

OFFline<br />

Usage Notes<br />

▼<br />

▼<br />

rdev<br />

rdev1-rdev2<br />

rdev<br />

rdev1-rdev2<br />

Privilege Class: B<br />

1710 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

NOASSIGN<br />

ASSIGN<br />

FORCE<br />

TEST<br />

Use VARY (real device) to do the following:<br />

v Enable or disable a device for the control program (<strong>CP</strong>)<br />

v Enable or disable a device for the user.<br />

ONline<br />

OFFline<br />

enables or disables the logical connection.<br />

rdev<br />

rdev1-rdev2<br />

is the number of the real device to be varied online or offline. You may specify a<br />

list or range of devices. If you specify a range of real device numbers, all valid<br />

devices in the range, including the first <strong>and</strong> last devices you specify, are varied<br />

online or offline. The maximum number of devices allowed in a range is 256.<br />

NOASSIGN<br />

ASSIGN<br />

tells <strong>CP</strong> to try to ASSIGN or UNASSIGN the device to <strong>CP</strong> at vary on time. If the<br />

ASSIGN fails, the device is not varied online.<br />

FORCE<br />

specifies that an attempt be made to bring the device online even if another<br />

function has prevented the device from coming online.<br />

TEST<br />

specifies that <strong>CP</strong> bring the device online even if conditions exist that would<br />

normally prevent the device from successfully being brought online.<br />

1. If you specify a list or range of devices, an attempt is made to vary them online<br />

or offline regardless of whether an error is encountered with any one of the<br />

specified devices. An error message is issued for every device that cannot be<br />

varied online or offline. A summary message is issued to indicate the number of<br />

devices successfully varied online or offline.<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!