I am sure it deserves a record of some kind, but probably not for the
number of parameters. I hope you switched to using key word parameters?
The number of parameters is a rather poor metric for the quality of the
macro. In any case 90 is a rather low number. Here is the log for a run
with a macro having 100,001 parameters. Perhaps it is notable because over
85% of the real time has not been accounted for in the log.
NOTE: SAS initialization used:
real time 0.81 seconds
cpu time 1.81 seconds
1 filename code temp ;
2 data _null_ ;
3 file code ;
4 put '%macro lp ( p0= ' ;
5 do i = 1 to 100000 ;
6 put ', p' i z8. '=' ;
7 end ;
8 put '); %put p&p0=&&p&p0 ;'
9 / '%mend lp ; ' ;
10 run ;
NOTE: The file CODE is:
File Name=C:\DOCUME~1\IANWHI~1\LOCALS~1\Temp\SAS Temporary
NOTE: 100003 records were written to the file CODE.
The minimum record length was 11.
The maximum record length was 21.
NOTE: DATA statement used (Total process time):
real time 1.45 seconds
cpu time 0.37 seconds
11 %inc code ;
100015 %lp(p0 = 00099099, p00099099 = 7777777777 )
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
real time 15.72 seconds
cpu time 13.59 seconds
Date: Tue, 31 Jan 2006 06:17:28 -0800
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion"
From: RolandRB <rolandberry@HOTMAIL.COM>
Subject: One of my reporting macros has 90 parameters - is that a
Comments: To: email@example.com
Content-Type: text/plain; charset="iso-8859-1"
One of my reporting macros has 90 parameters. Is that a record? Any
advance on 90?