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.

Usage Notes<br />

Responses<br />

Examples<br />

1. The SET <strong>CP</strong>TRACE comm<strong>and</strong> determines which events are recorded. QUERY<br />

<strong>CP</strong>TRACE lets you know what tracing events have been set on or off.<br />

To check for only NONSPECIFIC categories, enter query cptrace.<br />

To check for only SPECIFIC categories, enter query cptrace for specific.<br />

2. You can use the QUERY <strong>CP</strong>TRACE response to recreate the <strong>CP</strong>TRACE setting<br />

at some later point. For each response line, in the order displayed, the indicated<br />

code or category is set to ON if ENABLED or ENABLED EXCEPT, <strong>and</strong> is set to<br />

OFF if DISABLED or DISABLED EXCEPT. In some cases (see Example 4) the<br />

<strong>CP</strong>TRACE setting can be recreated by entering the following:<br />

set cptrace for nonspecific off allcodes<br />

set cptrace for nonspecific on svc<br />

set cptrace for nonspecific off 0200<br />

set cptrace for nonspecific off 3600<br />

set cptrace for nonspecific on realios<br />

set cptrace for nonspecific off ssch<br />

Response 1:<br />

The QUERY <strong>CP</strong>TRACE response shows an indented hierarchy of trace categories<br />

describing, as concisely as possible, the current <strong>CP</strong>TRACE setting. The output<br />

takes the form:<br />

FOR qualifier<br />

category ENABLED/DISABLED EXCEPT<br />

subcategory DISABLED/ENABLED EXCEPT<br />

subcategory ENABLED/DISABLED<br />

subcategory DISABLED/ENABLED<br />

Response 2:<br />

For categories not specifically traced, the output is:<br />

FOR qualifier NO SPECIFIC TRACE SET<br />

Response 3:<br />

For a query on the SPECIFIC qualifier, when no specific tracing is in effect, the<br />

output is NO SPECIFIC TRACE SET. This response is repeated for each qualifier for<br />

which the trace setting is to be displayed. In the following examples, no specific<br />

tracing is assumed unless otherwise indicated.<br />

Note: For further information on trace categories, see “SET <strong>CP</strong>TRACE” on page<br />

1216.<br />

Example 1:<br />

If all TRACE entries were enabled through the comm<strong>and</strong> SET <strong>CP</strong>TRACE ON (or all<br />

TRACE entires were disabled through the comm<strong>and</strong> SET <strong>CP</strong>TRACE OFF), you<br />

receive the following response:<br />

FOR NONSPECIFIC<br />

ALLCODES ENABLED or (DISABLED)<br />

Example 2:<br />

QUERY <strong>CP</strong>TRACE<br />

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

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

Saved successfully!

Ooh no, something went wrong!