Date: Mon, 9 Jan 2006 16:01:17 -0500
Reply-To: Shukla Kshirsagar <shuklak@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Shukla Kshirsagar <shuklak@HOTMAIL.COM>
Subject: Macro variables and increased processing time, SAS v9.1
Hello everybody,
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.
Thanks,
Shukla
|