| Date: | Mon, 10 Jan 2000 15:26:19 +0100 |
| Reply-To: | detecsm_hellriegelg@WESTLB.DE |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE> |
| Subject: | Antwort: Simple Problem????? |
| Content-type: | text/plain; charset=us-ascii |
|---|
Yes, thats because the macro preprocessor has resolved (or tried to...) the
macro reference &df *** before **** the datastep is compiled. Try the following
instead:
%let no=0;
data xxx;
set yyy;
call symput("df"||left(put(_n_, 2.)), n);
run;
data zzz;
set xxx;
tval=tinv(.975,symget("df"||left(put(_n_,2.))));
run;
Mo Uddin-M <uddin.m@PG.COM> on 07.01.2000 17:02:35
Bitte antworten an Mo Uddin-M <uddin.m@PG.COM>
An: SAS-L@LISTSERV.UGA.EDU
Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB)
Thema: Simple Problem?????
Hello all,
I have a problem, may be simple but I don't know why it is not working. Can
anybody help me please?
data xxx;
set yyy;
call symput("df"||left(put(_n_, 2.)), n);
run;
data zzz;
set xxx;
tval=tinv(.975,&&df||left(put(_n_,2.)));
run;
Can anybody tell me why macro variable df is not resolving in the second data
step?
Thanks.
Mohammad Uddin
Mit freundlichen Gruessen
DeTeCSM, Gerhard Hellriegel
WestLB
Abteilung: 001-80622
Aderstr. 22
D - 40217 Duesseldorf
Tel.: +49211 826 6173
Fax: +49211 826 5393
|