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.

QUERY READER/PRINTER/PUNCH<br />

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

Options<br />

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

Class D users can obtain information about all spool files in the system, or spool<br />

files belonging to any user on the system.<br />

Printer<br />

PRT<br />

PUnch<br />

PCH<br />

Reader<br />

RDR<br />

displays the following information about your reader, printer, or punch files:<br />

v The userid of the file creator<br />

v The spool file identification<br />

v The spool file’s class <strong>and</strong> type of device where originated<br />

v The number of logical records in the file<br />

v The number of copies specified for the file<br />

v The file HOLD, KEEP, <strong>and</strong> MSG status<br />

v The form name.<br />

USERID<br />

U indicates that the next parameter is a userid. Class G users can specify only an<br />

asterisk (*) following USERID or U. U is the only abbreviation allowed for<br />

USERID.<br />

*<br />

userid<br />

ALTID<br />

identifies the user whose spool files are to be queried. You can specify an<br />

asterisk (*) to query your own files; an asterisk (*) is the default for the class G<br />

user. You can specify ALTID to query files belonging to your alternate user ID.<br />

Class G users cannot specify userid.<br />

Class D users can obtain information about reader, printer, or punch spool files<br />

that are owned by any user of the system by specifying that user’s userid. If<br />

class D users want to obtain a display about their own spool files, they must<br />

enter their own userid or an asterisk (*) on the comm<strong>and</strong> line. A class D user<br />

issuing the QUERY comm<strong>and</strong> for a one-to-four digit, all numeric userid, will<br />

cause unpredictable results because of the one-to-four digit, all numeric spoolid<br />

parameter.<br />

SYSTEM<br />

allows only the class D user to obtain information about all files in the system,<br />

regardless of ownership. This system is not allowed with the spoolid option.<br />

SYSTEM is the default for the class D user.<br />

spoolid<br />

is the system-assigned number of the spool file that is to be queried. This<br />

option is not valid with the SYSTEM keyword.<br />

CLass c<br />

designates an existing spool file class. The oper<strong>and</strong> c is a 1-character<br />

alphanumeric field that may be from A to Z, or 0 to 9.<br />

DEST dest<br />

indicates that you want to obtain information for files with the specified<br />

destination value; dest is a 1- to 8-character value.

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

Saved successfully!

Ooh no, something went wrong!