Previous Topic: Included Process in Several DialogsNext Topic: Adding TRACE ON and TRACE OFF Statements


Internal Trace (I)

You can use an internal trace if TRACE ON and TRACE OFF commands are included within the source module itself.

Any DEFINE SUBROUTINE, database verb, control command or EXHIBIT command encountered within the TRACE ON/TRACE OFF boundaries is traced. The internal trace is the same as a TRACE ALL WITH CONTROL (option A) within the boundaries.

Any commands outside the boundary are not traced. If EXHIBIT commands are placed outside the TRACE ON/TRACE OFF boundaries, recompiling errors occur.

CA ADS Trace generates trace statements only for code that falls within the TRACE ON and TRACE OFF boundaries. If no TRACE OFF statement is found following a TRACE ON, CA ADS Trace generates trace statements until the end of the source code is reached.