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

Usage Notes<br />

Responses<br />

COUNT<br />

displays only the number of message repository files that match the criteria<br />

specified 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 NLS comm<strong>and</strong>, from highest<br />

priority to lowest, is:<br />

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

v User default<br />

v System-wide default<br />

Response 1:<br />

The following response is issued when you specify QUERY NLS SHORTDATE:<br />

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

*NLS nnnn type c nnnn mm/dd hh:mm:ss fn ft originid<br />

Response 2:<br />

The following response is issued when you specify QUERY NLS FULLDATE:<br />

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

*NLS nnnn type c nnnn mm/dd/yyyy hh:mm:ss fn ft originid<br />

Response 3:<br />

The following response is issued when you specify QUERY NLS ISODATE:<br />

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

*NLS nnnn type c nnnn yyyy-mm-dd hh:mm:ss fn ft originid<br />

OWNERID<br />

indicates that the file is an NLS file owned by the system. The designation *NLS<br />

is not a user ID. It indicates the queue on which the file resides.<br />

FILE<br />

identifies the spool file.<br />

TYPE<br />

identifies the type of system data file. In this case, it is NLS <strong>and</strong> indicates a<br />

message repository file.<br />

CL<br />

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

identifies the file class, either A or P. Class A indicates that the file is available.<br />

Class P indicates that the file is in the pending purge state; it is purged during<br />

the next system IPL or RESTART.<br />

RECS<br />

identifies the number of 4 KB pages in the file.

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

Saved successfully!

Ooh no, something went wrong!