SET TRACE
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
SET TRACE
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Controls command tracing.
Syntax
SET [LOCAL] TRACE ON|OFF
Parameters
LOCAL | Indicates that command tracing is to be switched ON or OFF at the “local” level only. |
Comments
The SET TRACE command controls command tracing. When TRACE is switched ON, each line of a procedure is displayed as it is executed. Each line is preceded by the procedure name and document line number as shown in the following example:
pCustReport[19] report from Customers
SET TRACE has no effect on compiled application programs.
SET TRACE is not affected by the SET RESET and SET RESTORE commands.
Example
To display the instructions in the procedure MyProg as they are executed, use
set trace on
MyProg
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5