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

THEN DL datalinks<br />

identifies the data to be traced if the result of the preceding IF statement is true.<br />

A THEN statement may be followed by any number of datalinks, all of which are<br />

executed only if the result of the preceding IF statement is true.<br />

A subsequent IF statement (not preceded by an ELSE statement or ENDIF<br />

statement; that is, a nested IF statement) would be executed only if the result of<br />

the preceding IF statement is true.<br />

THEN IF<br />

identifies a nested IF statement. Such an IF statement would be executed only<br />

if the result of the preceding IF statement is true.<br />

Up to 16 nested IF statements are allowed. Each IF statement must be paired<br />

with an ENDIF statement.<br />

ELSE DL datalinks<br />

identifies the data to be traced if the result of the preceding IF statement is<br />

false. An ELSE statement may be followed by any number of datalinks all of<br />

which are executed only if the result of the preceding IF statement is false.<br />

A subsequent IF statement (not preceded by an ENDIF statement, thus a<br />

nested IF statement) would be executed only if the result of the preceding IF<br />

statement is false.<br />

ELSE IF<br />

identifies a nested IF statement. Such an IF statement would be executed only<br />

if the result of the preceding IF statement is false.<br />

Up to 16 nested IF statements are allowed. Each IF statement must be paired<br />

with an ENDIF statement.<br />

ENDIF<br />

identifies the end of conditional datalinks associated with the last unclosed IF<br />

statement.<br />

Each IF statement must be closed with an ENDIF statement before the traceid<br />

can be enabled.<br />

(General for TRSOURCE ID)<br />

1. If you use the ID oper<strong>and</strong> to define a trace ID, ID must be the first oper<strong>and</strong> on<br />

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

2. While specific type-dependent oper<strong>and</strong>s are optional on the TRSOURCE<br />

comm<strong>and</strong>, certain type-dependent oper<strong>and</strong>s may be required for a trace ID<br />

before it can be enabled. Refer to the description of the specific trace types to<br />

determine which oper<strong>and</strong>s are required before a trace ID of that trace type can<br />

be enabled.<br />

3. The TYPE oper<strong>and</strong>, if used, must directly precede any type-dependent<br />

oper<strong>and</strong>s.<br />

4. All type-dependent oper<strong>and</strong>s must be contiguous. The order depends on the<br />

requirements of the trace type.<br />

Type I/O Usage Notes<br />

1. You can define an I/O trace for a nonexistent device—that is, a device that has<br />

no RDEVICE definition. If a trace with only such devices is enabled, message<br />

H<strong>CP</strong>477E is issued:<br />

Traceid (TRACEid) not enabled; incomplete definition<br />

TRSOURCE ID (Definition Oper<strong>and</strong>s)<br />

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

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

Saved successfully!

Ooh no, something went wrong!