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 SHARED<br />

►►<br />

Set<br />

Authorization<br />

Purpose<br />

SHARED<br />

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

Usage Notes<br />

Responses<br />

ON<br />

OFF<br />

FOR<br />

Privilege Class: B<br />

Use SET SHARED to control whether a full-pack minidisk is to be shared by the<br />

users of many real <strong>and</strong> virtual systems.<br />

ON<br />

OFF<br />

indicates that the device is shared or not shared among multiple real <strong>and</strong> virtual<br />

systems.<br />

rdev<br />

rdev1-rdev2<br />

is the real device number or range of real device numbers of the devices to be<br />

shared.<br />

1. Attention: Use SET SHARED OFF with extreme caution <strong>and</strong> only after<br />

careful consideration.<br />

2. You should contact the operators of the systems that are sharing the device to<br />

assure that they mark a device as unusable in their system configuration <strong>and</strong><br />

physically disable their interfaces to that device before you enter the SET<br />

SHARED OFF comm<strong>and</strong>.<br />

3. You may use this comm<strong>and</strong> to tell <strong>CP</strong> whether to issue real reserve/release<br />

CCWs to the device associated with the full-pack minidisk.<br />

4. When you SET SHARED OFF for a full-pack minidisk, that device is not<br />

released by <strong>CP</strong>. If the device is currently reserved by <strong>CP</strong> for a user, it remains<br />

reserved until that user issues a release to that device.<br />

5. You can determine the SHARED status of system DASD by issuing the class B<br />

QUERY DASD RESERVE comm<strong>and</strong>.<br />

6. When you SET SHARED ON for a device, minidisk caching is turned off for the<br />

device. If minidisk caching is desired, it must specifically be set on via the SET<br />

MDCACHE comm<strong>and</strong>.<br />

7. This comm<strong>and</strong> will be rejected for full-pack minidisks if working allegiance (SET<br />

WRKALLEG) has been turned on for one of the device’s associated minidisks.<br />

Working allegiance is simulated to ensure data integrity among users sharing<br />

the same minidisk on the same <strong>VM</strong> system. Sharing real devices on the same<br />

minidisk is not allowed.<br />

Response 1.:<br />

rdev<br />

rdev1-rdev2<br />

SET SHARED<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!