It works for me (v9.1.3 SP4)
[pre]
NOTE: SAS initialization used:
real time 16.67 seconds
cpu time 1.48 seconds
1 data temp;
2 input x 1.;
3 cards;
NOTE: The data set WORK.TEMP has 5 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 1.54 seconds
cpu time 0.00 seconds
9 ;
10 run;
11
12
13 data _null_;
14 call symput('numrec', numrec);
15 stop;
16 set temp nobs=numrec;
17 run;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
14:23
NOTE: DATA statement used (Total process time):
real time 0.25 seconds
cpu time 0.00 seconds
18
19 %put 'value ' &numrec;
'value ' 5
[/pre]
Cheers from Portugal.
Daniel Santos @
www.cgd.pt