Date: Mon, 14 Jun 2004 12:03:02 +0800
Reply-To: Paul CARRENO <p.carreno@ECU.EDU.AU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul CARRENO <p.carreno@ECU.EDU.AU>
Subject: variable uinitialized.
Content-Type: text/plain; charset="us-ascii"
Hi all,
Using 8.2 on Win XP Professional V5.1
Any reason why I get a "variable unitialized"
note in the code below?
I am getting a few 'Notes' in other parts of the code as well?
This runs ok on V8.0
Any hints will be appreciated.
Thanks
PC
1199 data rei2(rename=(d3=dept));
1200 merge rei2(in=a) consta2(in=b);
1201 by deptp;
1202 if a then do;
1203 if b and campus='BU' and substr(dept,1,1) ^= "G" then do;
1204 put "changing dept code for: " unitcd campus " from " d2 "
to " budept;
1205 d3=budept;
1206 end;
1207 else d3=d2;
1208 drop dept;
1209 output;
1210 end;
1211 run;
NOTE: Variable dept is uninitialized.
|