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.

QUERY FILES<br />

Usage Notes<br />

Responses<br />

Messages<br />

1. Privilege class G users can enter QUERY FILES to display the number of spool<br />

files they own or have generated. Privilege class D users can enter QUERY<br />

FILES to display all spool files in the system, or all files that belong to a<br />

particular user of that system.<br />

2. If the user ID option is used with the XFER option by a class D user, the<br />

specified user ID is treated as the originator of the files. The result is a count of<br />

the files generated by the first user, <strong>and</strong> includes those files owned by the user<br />

specified after the XFER option.<br />

For example, if a class D user enters query files user1, a count is returned of<br />

the files that USER1 owns.<br />

If a class D user enters query files xfer user2, a count is returned of the files<br />

that USER2 owns, but did not generate.<br />

If a class D user enters query files user1 xfer user2, a count is returned of<br />

the files generated by USER1 <strong>and</strong> owned by USER2.<br />

3. In a CSE complex, if the AVAIL oper<strong>and</strong> is not specified, this comm<strong>and</strong> displays<br />

information about all files in the system on which the comm<strong>and</strong> is processed. If<br />

the AVAIL oper<strong>and</strong> is specified, this comm<strong>and</strong> does not display information<br />

about files that are locked by another system.<br />

Response 1:<br />

For the class D user:<br />

FILES: {nnnnnnn} RDR, {nnnnnnn} PRT, {nnnnnnn} PUN<br />

{ NO} { NO} { NO}<br />

where nnnnnnn is the number of spool files of each type.<br />

For the class G user:<br />

FILES: {nnnn} RDR, {nnnn} PRT, {nnnn} PUN<br />

{ NO} { NO} { NO}<br />

where nnnn is the number of spool files of each type.<br />

Note: If a class G user issues QUERY FILES (or if a privileged user issues<br />

QUERY FILES *), <strong>and</strong> if that user has more than 9999 rdr, prt, or pun files,<br />

the response will still only show 9999 files.<br />

H<strong>CP</strong>003E Invalid option - {option|comm<strong>and</strong><br />

contains extra option(s) starting with<br />

option}<br />

H<strong>CP</strong>042E User userid spoolid nnnn does not exist<br />

H<strong>CP</strong>053E userid not in <strong>CP</strong> directory<br />

H<strong>CP</strong>364E No alternate userid is currently set.<br />

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

H<strong>CP</strong>413E Comm<strong>and</strong> processing cannot complete<br />

due to a spool paging error.<br />

H<strong>CP</strong>422E The same option was specified twice.<br />

H<strong>CP</strong>423E The function requested is incompatible<br />

with a previously specified oper<strong>and</strong>.<br />

H<strong>CP</strong>475I Fatal I/O error trying to read directory<br />

from volid [for user userid]

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

Saved successfully!

Ooh no, something went wrong!