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.

Options<br />

R/O<br />

can be used for DASD <strong>and</strong> tape devices that are attached to a user. This allows<br />

the system operator to apply read-only protection to a user’s disk or tape.<br />

<strong>CP</strong> ignores the R/O oper<strong>and</strong> for any device number that does not correspond to<br />

a TAPE or DASD device.<br />

SINGLEuser<br />

dedicates a real tape device to a single user. This is the default.<br />

MULTIuser<br />

attaches a real tape device to be serially shared with other users. See Usage<br />

Note 19.<br />

WITH ASSIGN<br />

specifies that the tape device you want attached to the user will be assigned to<br />

the user system. <strong>CP</strong> ignores this oper<strong>and</strong> for any tape device that does not<br />

support ASSIGN <strong>and</strong> UNASSIGN CCWs.<br />

WITH NOASSIGN<br />

specifies that the tape device you want attached to the user must not be<br />

assigned to the user system. This gives the guest the ability to control the<br />

assignment of the tape. <strong>CP</strong> ignores this oper<strong>and</strong> for any tape device that does<br />

not support ASSIGN <strong>and</strong> UNASSIGN CCWs.<br />

Note: When a tape attached with NOASSIGN is detached:<br />

v The tape is not rewound or unloaded.<br />

ATTACH<br />

v If the tape was attached with SINGLEUSER (the default), <strong>CP</strong> does not<br />

change the ASSIGNED or UNASSIGNED status of the device. It is the<br />

responsibility of the guest to enter the ASSIGN CCW when it needs<br />

the tape <strong>and</strong> to enter the UNASSIGN CCW when it is finished using<br />

the tape.<br />

v If the tape was attached with MULTIUSER, <strong>CP</strong> changes the status of<br />

the device to UNASSIGNED.<br />

NO<strong>CP</strong>MS<br />

indicates that attach processing should not issue MODE SET CCWs to a tape<br />

device to initialize the Device Control Pages of the device. This option is<br />

ignored for any tape device that does not support the X'CB' MODE SET CCW.<br />

This option is not available on the DEDICATE User Directory Statement.<br />

MODE SET CCWs are issued only if ASSIGN processing is also done. Thus,<br />

NO<strong>CP</strong>MS performs no function if NOASSIGN is specified.<br />

WITH DEVCTL<br />

means that the device accepts CCWs that have an effect on resources <strong>and</strong><br />

functions directly related to the device. See Usage Note 9 for default values.<br />

WITH NOCTL<br />

means that the device does not accept any CCWs that can exercise control of<br />

subsystem resources or functions, regardless of whether they directly relate to<br />

the device.<br />

WITH SYSCTL<br />

means that the device accepts CCWs that have a direct global effect on<br />

subsystem resources <strong>and</strong> functions, not just on those related to the device. See<br />

Usage Note 9 for default values.<br />

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

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

Saved successfully!

Ooh no, something went wrong!