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 <strong>CP</strong>LEVEL<br />

QUERY <strong>CP</strong>LEVEL<br />

►►<br />

Query<br />

Notes:<br />

Authorization<br />

Purpose<br />

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

<strong>CP</strong>LEVEL<br />

Usage Notes<br />

(1)<br />

SHOrtdate<br />

FULldate<br />

ISOdate<br />

1 The default is the user’s default date format.<br />

Privilege Class: G<br />

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

Use QUERY <strong>CP</strong>LEVEL to determine the following control program attributes:<br />

v The software version level, release level, <strong>and</strong> release modification level<br />

v The software service level number<br />

v The date <strong>and</strong> time (translated to the current active time zone) that the <strong>CP</strong> system<br />

software was written to DASD.<br />

v The date <strong>and</strong> time the <strong>CP</strong> was last started<br />

SHOrtdate<br />

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

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

the 2-digit year.<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 />

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

priority to lowest, is:<br />

v QUERY <strong>CP</strong>LEVEL comm<strong>and</strong> oper<strong>and</strong><br />

►◄

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

Saved successfully!

Ooh no, something went wrong!