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.

Usage Notes<br />

Responses<br />

other than your own, you receive information on all spool files that you<br />

originated <strong>and</strong> are owned by the specified user ID. If you use asterisk (*), or<br />

you default to it, you receive information on the files you currently own.<br />

NAME fn<br />

specifies the file name of the files to be queried. This is the file name specified<br />

on the comm<strong>and</strong> TRSAVE...ON DASD NAME fn... when the trace was started.<br />

More than one file can exist with the same file name for a given owner.<br />

spoolid<br />

identifies the spool file to be queried; spoolid is not valid with the SYSTEM<br />

option.<br />

SHOrtdate<br />

specifies that dates in the response to this comm<strong>and</strong> will be displayed in mm/dd<br />

format, where mm is the month <strong>and</strong> dd is the day of the month.<br />

FULldate<br />

specifies that dates in the response to this comm<strong>and</strong> will be displayed in<br />

mm/dd/yyyy format, where mm is the month, dd is the day of the month, <strong>and</strong><br />

yyyy is the 4-digit year.<br />

ISOdate<br />

specifies that dates in the response to this comm<strong>and</strong> will be displayed in<br />

yyyy-mm-dd format, where yyyy is the 4-digit year, mm is the month, <strong>and</strong> dd is<br />

the day of the month.<br />

COUNT<br />

displays only the number of system trace files that match the criteria specified<br />

on the comm<strong>and</strong>.<br />

1. The default date format for certain <strong>CP</strong> <strong>and</strong> CMS comm<strong>and</strong>s can be set on a<br />

system-wide basis <strong>and</strong> also for the individual user. The system-wide default<br />

date format is set with the SYSTEM_DATEFORMAT system configuration<br />

statement. The user’s default date format is set with the DATEFORMAT user<br />

directory control statement. The system-wide default <strong>and</strong> the user’s default can<br />

also be set with the <strong>CP</strong> SET DATEFORMAT comm<strong>and</strong>. The user’s default date<br />

format defaults to the system-wide default. The system-wide <strong>and</strong> user settings<br />

can be queried with the <strong>CP</strong> QUERY DATEFORMAT comm<strong>and</strong>. The hierarchy of<br />

possible date format settings for the QUERY TRFILES comm<strong>and</strong>, from highest<br />

priority to lowest, is:<br />

v QUERY TRFILES comm<strong>and</strong> oper<strong>and</strong><br />

v User default<br />

v System-wide default<br />

Response 1:<br />

The following is an example of a response to QUERY TRFILES SYSTEM<br />

SHORTDATE:<br />

OWNERID FILE TYPE CL RECS DATE TIME FILENAME FILETYPE ORIGINID<br />

ownerid file type c recs mm/dd hh:mm:ss filename filetype<br />

orig<br />

Response 2:<br />

QUERY TRFILES<br />

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

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

Saved successfully!

Ooh no, something went wrong!