Date: Tue, 29 Apr 2008 14:54:38 -0500
Reply-To: Mary <mlhoward@avalon.net>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mary <mlhoward@AVALON.NET>
Subject: Re: SAS code works on laptop but not on workstation
Content-Type: text/plain; charset="iso-8859-1"
Cristian,
It doesn't sound like there's too many records there- maybe try to see if you could substitute this code for your proc append and see if it works (or at least gives you a better error message)
data loc.lamdas;
set loc.lamdas work.lamdas;
run;
-Mary
----- Original Message -----
From: P. Cristian Gugiu
To: SAS-L@LISTSERV.UGA.EDU
Sent: Tuesday, April 29, 2008 2:43 PM
Subject: Re: SAS code works on laptop but not on workstation
Thanks to one members running SAS in a Vista OS environment, I was able to
examine the log from his run. According to the log, there were 56
temporary datasets created with 1 record and 8 variables. Search
for: "NOTE: The data set WORK.LAMBDAS has 1 observations and 8 variables."
However, the final dataset located in the Loc folder is empty. Therefore,
for some reason, either the following code does not appear to work in a
Vista environment or something is preventing the temp dataset from being
appended. Anyone have any ideas what might be going on?
%MACRO AppendData;
%if %sysfunc(exist(work.Lambdas))=1 %then %do ;
/* Appends results of each run to _Data. */
Proc Append Base=Loc.Lambdas Data = Lambdas ;
run ;
proc datasets ;
delete Lambdas;
run;
%end;
%else %put Temporary file Lambdas does not exist in the Work
folder.;
%Mend;