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

<strong>CP</strong>RELEASE<br />

►►<br />

<strong>CP</strong>RELease<br />

Authorization<br />

Purpose<br />

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

Usage Notes<br />

Responses<br />

fm<br />

ASYNChronous<br />

SYNChronous<br />

Privilege Class: A<br />

Use <strong>CP</strong>RELEASE to release a disk that was previously accessed using the<br />

<strong>CP</strong>ACCESS comm<strong>and</strong> or the <strong>CP</strong>_ACCESS statement.<br />

For more information on the <strong>CP</strong>ACCESS comm<strong>and</strong>, see page “<strong>CP</strong>ACCESS” on<br />

page 79. For more information on the <strong>CP</strong>_ACCESS statement, see the z/<strong>VM</strong>: <strong>CP</strong><br />

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

fm is the file mode letter of the minidisk that you want <strong>CP</strong> to release.<br />

ASYNChronous<br />

tells <strong>CP</strong> to schedule the comm<strong>and</strong> <strong>and</strong> lets you enter other comm<strong>and</strong>s before<br />

the <strong>CP</strong>RELEASE comm<strong>and</strong> completes. When the comm<strong>and</strong> is complete, <strong>CP</strong><br />

displays the following:<br />

<strong>CP</strong>RELEASE request for disk filemode completed<br />

ASYNCHRONOUS is the default.<br />

SYNChronous<br />

tells <strong>CP</strong> to process the comm<strong>and</strong> immediately <strong>and</strong> does not allow you to enter<br />

any other comm<strong>and</strong>s until the <strong>CP</strong>RELEASE comm<strong>and</strong> completes. <strong>CP</strong> must wait<br />

until all the files are closed before it can release a minidisk. If there are a large<br />

number of open files <strong>and</strong> you specify the SYNCHRONOUS option, you may be<br />

forced to wait for some time before you can enter any other comm<strong>and</strong>s.<br />

1. When you enter a <strong>CP</strong>RELEASE comm<strong>and</strong>, <strong>CP</strong> removes from storage all the<br />

files on the minidisk that were cached into storage as a result of <strong>CP</strong>CACHE<br />

comm<strong>and</strong>s or a <strong>CP</strong>CACHE FILES file.<br />

Response 1:<br />

If you specify the SYNCHRONOUS oper<strong>and</strong>, you see something like this:<br />

cprelease b synchronous<br />

Disk B released<br />

Ready;<br />

Response 2:<br />

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

►◄

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

Saved successfully!

Ooh no, something went wrong!