I have inherited some code with macro variables processed within loops.
The code is running some regressions, comparing standard deviations, and
outputting a 'beta' file, containing regression coefficients.
I have noticed that the code takes longer to run with each iteration, and
even hangs at some point.
I have added 'ODS NORESULTS' to my options to eliminate the output to the
results window, which seemed to improve the performance a little bit.
I looked at the VMACRO file from SASHELP, but the only global vars created
are the ones that loop through, and are needed through out the entire
processing. I am not sure how the macro variables are held in memory, but
this seems like a memory issue.
Any suggestions/thoughts are welcome.