Custom built SAS macro programs to trigger recording and extracting information about input, output, and the use of macro symbols from a SAS program while it is running.
To get started, assuming you already have a directory of all the artifacts in the repo, you'll need to
-
Update your settings by modifying the /config/setup.sas program, and populating the variable listed below, before running it in your SAS session
%LET g_projRootPath = ; *<---- Specify installation path. Do not include trailing slash!;
-
Update your SAS program(s) before running/submitting (it/them) by the adding
-
%util_initScaproc macro call at the beginning of the code
-
%util_termScaproc maco call at the end of the code.
Look at [Drive:]\dotMySASProgram-main\programs\usage_util_xxxxscaproc.sas as an example program.
-
Parse the generated Code Analysis text file using the %util_parseScaproc macro call
Look at [Drive:]\dotMySASProgram-main\programs\usage_util_parsescaproc.sas as an example program.
A successful Step #3 execution should generate a file with DOT language syntax, describing graphs textually, so it can be rendered as a simple static data lineage graphical representation.
Open the generated DOT file in MS VS Code and use the DOT extension to draw the graph.