setzlog
DATABASE
,
PROCEDURE
,
ENABLE

The setzlog statement turns instrumentation coverage on or off for a specific procedure (or all procedures within a database).


Parameters

This statement has three parameters:

database – the database containing the procedure. If left empty, the procedure is assumed to be in the current database.

procedure – the procedure to enable/disable coverage. If left empty, then coverage for all procedures will be set.

enable – a boolean value, true to enable or false to disable. If this parameter is omitted, the coverage will be toggled.


Description

This statement >turns instrumentation coverage on or off for a specific procedure (or all procedures within a database). This example enables instrumentation for the New Invoice procedure in the current database.

setzlog "","New Invoice",true()

This example turns off instrumentation for all procedures in the current database.

setzlog "","",false()

Note: The normal way to enable or disable instrumentation is to use the Instrumentation preferences panel or the Instrumentation menu. See Debug Instrumentation to learn more about instrumentation.


See Also


History

VersionStatusNotes
10.2NewNew in this version.