24 %MACRO _dependency(i_dependencies =
28 %LOCAL l_countObs l_name l_children;
30 %**
get number of obs;
39 %DO l_i=1 %TO &l_countObs;
42 * read one observation;
43 SET &i_macroList. (firstobs=&l_i. obs=&l_i.);
44 CALL SYMPUT("l_name", trim(name));
48 FILENAME json_out "&g_target/tst/crossreference/&l_name._caller.json";
53 %_dependency_wr(i_node=&l_name, i_direction=1, i_dependencies=&i_dependencies);
61 FILENAME json_out "&g_target/tst/crossreference/&l_name._called.json";
66 %_dependency_wr(i_node=&l_name, i_direction=0, i_dependencies=&i_dependencies);