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.

<strong>CP</strong>ACCESS<br />

►►<br />

<strong>CP</strong>ACcess<br />

Authorization<br />

Purpose<br />

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

userid<br />

vdev<br />

fm<br />

SR<br />

mode<br />

Privilege Class: A<br />

ASYNChronous<br />

SYNChronous<br />

Use <strong>CP</strong>ACCESS to identify a CMS-formatted minidisk to <strong>CP</strong> <strong>and</strong> to make the files<br />

on that minidisk available to <strong>CP</strong> by establishing a file mode letter for the files.<br />

Before you can tell <strong>CP</strong> to link a minidisk, you must have the authority to access that<br />

minidisk. You do not have to actually link to or access the minidisk; you only need<br />

the capability to do so without specifying a password.<br />

You can also do this by using the <strong>CP</strong>_ACCESS statement in the system<br />

configuration file. For more information about this statement, see the z/<strong>VM</strong>: <strong>CP</strong><br />

Planning <strong>and</strong> Administration book.<br />

userid<br />

specifies the user ID of the owner of the minidisk that you want to make<br />

available to <strong>CP</strong>.<br />

vdev<br />

is the virtual device number of the specified user’s minidisk, as defined in the<br />

user’s entry in the system directory. The address can be any hexadecimal<br />

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

fm is the file mode letter that you want to assign to all files on the specified<br />

minidisk. You can specify any letter from A to Z.<br />

<strong>CP</strong>ACCESS<br />

mode<br />

is the access mode. Valid modes are:<br />

ER<br />

Exclusive read-only access. <strong>CP</strong> establishes read access unless a user has<br />

an existing access to this disk. <strong>CP</strong> denies all requests for access to a disk<br />

with an existing exclusive mode.<br />

EW<br />

Exclusive write access. <strong>CP</strong> establishes write access unless a user has an<br />

existing access (any mode) to the disk. <strong>CP</strong> denies all requests for access to<br />

a disk with an existing exclusive mode access.<br />

Note: An EXCLUSIVE access (ER, EW) is a stable access with the added<br />

restriction that no one else has, or can get access to, the specified<br />

minidisk until the access is released.<br />

M Multiple-write access. <strong>CP</strong> establishes write access unless a user has an<br />

existing write, stable, or exclusive mode access to the disk.<br />

MR<br />

Multiple-write access. <strong>CP</strong> establishes write access unless a user has an<br />

existing write, stable, or exclusive mode access to the disk. If a previous<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!