
The type of tracing is the same as that initiated by issuing the EXECUTIL TS
command.
Options Within Interactive Trace
When you are operating in the interactive debug facility, you have several options
during the pauses that occur between each traced instruction. You can:
v
Continue tracing by entering a null line
v
Type one or more additional instructions to be processed before the next
instruction is traced
v
Enter an equal sign (=) to re-execute the last instruction traced
v
End interactive tracing as described in the next topic.
Continuing Interactive Tracing:
To continue tracing through an exec, simply
press the Enter key to enter a null line during the pause between each traced
instruction. The next traced instruction then appears on the screen. Repeatedly
pressing the Enter key, therefore, takes you from pause point to pause point until
the exec ends.
Typing Additional Instructions to be Processed:
During the pause between
traced instructions, you can enter one or more instructions that are processed
immediately. The instruction can be any type of REXX instruction including a
command or invocation to another exec or CLIST. You can also enter a TRACE
instruction, which alters the type of tracing. After you enter the instruction, you might
need to press the Enter key again to resume tracing.
TRACE L
/* Makes the language processor pause at labels only */
The instruction can also change the course of an exec, such as by assigning a
different value to a variable to force the execution of a particular branch in an IF
THEN ELSE instruction. In the following example, RC is set by a previous
command.
IFRC = 0 THEN
DO
instruction1
instruction2
END
ELSE
instructionA
If during normal execution, the command ends with other than a 0 return code, the
ELSE path will be taken. To force taking the IF THEN path during interactive trace,
you can change the value of RC as follows during a pause.
RC = 0
Re-executing the Last Instruction Traced:
You can re-execute the last
instruction traced by entering an equal sign (=) with no blanks. The language
processor then re-executes the previously traced instruction with values possibly
modified by instructions, if any were entered during the pause.
Ending Interactive Trace
You can end interactive tracing in one of the following ways:
v
Use the TRACE OFF instruction.
v
Let the exec run until it ends.
v
Use the TRACE ? instruction.
v
Issue the EXECUTIL TE command.
Debugging Execs
116
z/OS V1R1.0 TSO/E REXX User’s Guide
Содержание TSO/E REXX
Страница 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 2: ......
Страница 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Страница 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Страница 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Страница 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 241: ......