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

►►<br />

Notes:<br />

<strong>CP</strong>TYpe<br />

Authorization<br />

Purpose<br />

fn<br />

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

ft<br />

A<br />

(1)<br />

1<br />

fm<br />

*<br />

MEMber<br />

Privilege Classes: A<br />

member<br />

1 The display will continue until the end of the file.<br />

(1)<br />

1<br />

start<br />

Use <strong>CP</strong>TYPE to cause <strong>CP</strong> to display selected lines of a file on a minidisk that you<br />

identified to <strong>CP</strong> with either a <strong>CP</strong>ACCESS comm<strong>and</strong> or a <strong>CP</strong>_ACCESS statement.<br />

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

information on the <strong>CP</strong>_ACCESS statement, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong><br />

Administration book.<br />

end<br />

fn is the file name of the file that you want to display.<br />

ft is the file type of the file that you want to display.<br />

<strong>CP</strong>TYPE<br />

fm is the file mode letter of the minidisk that you identified to <strong>CP</strong> by using the<br />

<strong>CP</strong>ACCESS comm<strong>and</strong> or the <strong>CP</strong>_ACCESS statement. If you omit fm, <strong>CP</strong><br />

displays the specified file on the disk it has accessed as A (the default). If you<br />

specify an asterisk (*), <strong>CP</strong> searches all the accessed minidisks <strong>and</strong> displays the<br />

first file found in the search hierarchy.<br />

MEMber member<br />

is the name of a member within the file that you want to display. Member is<br />

meaningful if your file is a CMS partitioned data set (for example, a TXTLIB),<br />

because this is the type of file that has members.<br />

start<br />

is the line number of the first record you want <strong>CP</strong> to display. You can specify<br />

any positive decimal number between 1 <strong>and</strong> the line number of the last record<br />

in the file. If this number is greater than the line number of the last record in the<br />

file, you receive an error message. If you do not specify a number, <strong>CP</strong> starts<br />

displaying the file at line 1 (the default).<br />

end<br />

is the line number of the last record you want <strong>CP</strong> to display. You can specify<br />

any positive decimal number between 1 <strong>and</strong> the line number of the last record<br />

in the file. If you do not specify a number, <strong>CP</strong> displays the file at the line<br />

specified by start <strong>and</strong> continues displaying until it reaches the end of the file.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!