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.

TRACE GOTO/CALL/RETURN<br />

TRACE GOTO/CALL/RETURN<br />

►►<br />

TRace<br />

Authorization<br />

Purpose<br />

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

GOto name<br />

CALL name<br />

RETurn<br />

SUSpend<br />

Privilege Class: G<br />

1636 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 TRACE GOTO, TRACE CALL, <strong>and</strong> TRACE RETURN to activate TRACE sets<br />

by name.<br />

GOto name<br />

causes a trace set by the given name to become active. Specify name as a<br />

unique 1- to 8-character identifier. If no trace set exists by that name, a new,<br />

empty set is created. No program degradation occurs from an empty (null) trace<br />

set. The previous trace set is unchanged but no longer active. If empty, it may<br />

be deleted automatically.<br />

You can use TRACE GOTO as the first comm<strong>and</strong> in a tracing session to<br />

establish the name of an initial trace set. If traps are created without issuing a<br />

TRACE GOTO, the initial trace set containing them is named INITIAL.<br />

CALL name<br />

causes a trace set by the given name to become active. If no trace set exists<br />

by that name, a new, empty set is created. No program degradation occurs<br />

from an empty (null) trace set. The previous trace set is unchanged <strong>and</strong> is<br />

placed in a return list on a last-in, first-out basis.<br />

You can enter the QUERY TRACE RETURNS comm<strong>and</strong> to display a list of<br />

trace sets currently in the return list; the order is from most to least recent.<br />

Recursive calling is not allowed; it is not permitted to call any trace set that has<br />

itself called a trace set.<br />

TRACE CALL is designed to be used with TRACE RETURN.<br />

RETurn<br />

causes the first trace set on the return list to be removed from the list <strong>and</strong><br />

become active. The previous trace set is unchanged but no longer active; if<br />

empty, the previous trace set is deleted automatically.<br />

SUSpend<br />

causes the trace set being loaded to have no effect until the next TRACE<br />

GOTO, TRACE CALL, or TRACE RETURN occurs. You can enter TRACE<br />

comm<strong>and</strong>s to place traps for trace events in the set without affecting the<br />

program that is currently in operation. A suspended trace set causes no<br />

program degradation.<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!