SET FLOW

SET FLOW

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

SET FLOW

Controls the call tracing of procedures.

Syntax

SET [LOCAL] FLOW ON|OFF

Parameters

LOCALThe command is to take effect only within the current procedure.

Comments

Call tracing messages show shifts in execution control from one procedure to another. The SET FLOW command controls call tracing.

FLOW is OFF by default.

When FLOW is ON, the call tracing feature issues messages when the software enters or exits a procedure.

When entering procedurename, the message takes the form:

[nn ]–> procedurename

When exiting procedurename, the message takes the form:

[nn ]<– procedurename

where nn indicates the level of nesting represented by procedurename.

When procedurename is entered from a compiled procedure, the message is modified to read:

[nn ]–> procedurename

SET FLOW is not affected by the SET RESET and SET RESTORE commands.

Example

procedure DoCusts
set local flow on

The preceding command traces procedure calls only when those calls are made from procedure DoCusts.

set flow on

The preceding command causes the software to trace all procedure calls until otherwise notified.

See Also

RETURN

SET TRACEOUTPUT

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
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese