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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CP</strong>CACHE<br />

►►<br />

<strong>CP</strong>CAche<br />

Authorization<br />

Purpose<br />

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

fn<br />

*<br />

ft<br />

*<br />

A<br />

fm<br />

*<br />

Privilege Class: A<br />

Use <strong>CP</strong>CACHE to cause <strong>CP</strong> to cache a file on a <strong>CP</strong>-accessed minidisk. When you<br />

cache a file, <strong>CP</strong> moves the file into storage where it can find <strong>and</strong> access the file<br />

quickly. Use the <strong>CP</strong>CACHE comm<strong>and</strong> after you use the <strong>CP</strong>LISTFILE comm<strong>and</strong> to<br />

identify any files on the minidisk that are used frequently. After caching, you have<br />

faster access to your heavily-used files. You can also use a <strong>CP</strong>_ACCESS statement<br />

in the system configuration file to identify a minidisk to <strong>CP</strong>. For more information on<br />

the <strong>CP</strong>ACCESS comm<strong>and</strong>, see page “<strong>CP</strong>ACCESS” on page 79.You can use the<br />

<strong>CP</strong>CACHE comm<strong>and</strong> to identify frequently used files on minidisks that have been<br />

specified with a <strong>CP</strong>_ACCESS statement. For more information on the <strong>CP</strong>_ACCESS<br />

statement, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

fn<br />

* is the file name of the file that you want <strong>CP</strong> to cache. If you specify an asterisk<br />

(*), <strong>CP</strong> caches all file names. You can use generic file names to request a<br />

specific subset of files. A generic file name is a 1- to 8-character string with<br />

asterisks (*) in place of 1 or more arbitrary characters <strong>and</strong> percent signs (%) in<br />

place of exactly 1 arbitrary character. For example:<br />

cpcache hc%p* *<br />

caches all files that start with HC <strong>and</strong> have P as their fourth character.<br />

ft<br />

* is the file type of the file that you want <strong>CP</strong> to cache. If you specify an asterisk<br />

(*), <strong>CP</strong> caches all file types. You can use generic file types to request a specific<br />

subset of files. A generic file type is a 1- to 8-character string with asterisks (*)<br />

in place of 1 or more arbitrary characters <strong>and</strong> percent signs (%) in place of<br />

exactly 1 arbitrary character. For example,<br />

cpcache * con%%g *<br />

<strong>CP</strong>CACHE<br />

caches all files whose file types start with CON <strong>and</strong> have G as their sixth (<strong>and</strong><br />

last) character.<br />

fm<br />

* is the file mode letter of the minidisk that you had <strong>CP</strong> access. If omitted, the<br />

default is A. If you specify an asterisk (*), <strong>CP</strong> caches the specified files on all<br />

accessed disks.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!