SASUnit Examples  Version 1.5.0
_dependency_wr.sas File Reference

The macro is called from _dependencyJsonBuilder. It iterates through the dependency tree and writes out a .json file to visualize the call hierarchy. More...

Go to the source code of this file.

Detailed Description

The macro is called from _dependencyJsonBuilder. It iterates through the dependency tree and writes out a .json file to visualize the call hierarchy.

Version
$Revision: 282 $
Author
$Author: klandwich $
Date
$Date: 2013-11-21 11:32:48 +0100 (DO, 21 Nov 2013) $
See Also
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/_dependency_wr.sas $
Parameters
i_nodeCurrent tree node of this iteration (name of a macro)
i_dependenciesData set holding the information for the call hierarchy with columns caller and called
i_directionIndicates the direction of the call hierarchy: 0 -> All macros that call a specific macro 1 -> All macros that a specific macro calls
i_parentListUsed to detect self-referential loops (like A -> B -> A) in every branch of the tree. If a loop is detected the macro return to the parent node.

Definition in file _dependency_wr.sas.