Date: Fri, 11 Jan 2008 08:53:44 -0800
Reply-To: "Pardee, Roy" <pardee.r@GHC.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Pardee, Roy" <pardee.r@GHC.ORG>
Subject: Re: Problem Recreating a SAS Dataset
Content-Type: text/plain; charset="us-ascii"
If you're running interactive, try restarting sas.
(Also--in your e-mail at least, you're missing a semicolon after that
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Thursday, January 10, 2008 2:20 PM
Subject: Problem Recreating a SAS Dataset
Initially, I used this code to create a SAS dataset (PC SAS9):
libname students 'd:\WF_2\Data\SAS_Windows\MasterFiles';
%let filedate = 20070202;
data students.stu1; set students.test_&filedate; if grade = 9;
keep sid grade;
I wanted to recreate the dataset to include additional variables. I
reran the code, thinking SAS would either overwrite the dataset or give
me an error message, telling me I had to delete the old dataset before a
new one could be created. Instead, the program ran for a split second,
did nothing, and produced a log that tells me nothing.
Then I ran this code to delete the dataset:
It also ran for a split second, did nothing, and produced a log that
tells me nothing, i.e., no error messages.
I then moved the source file (test_&filedate) to a different directory
and rewrote the code to reflect that (thinking to cleverly side step the
problem). Same result. I'm at a loss. Any assistance would be much
Looking for a X-Mas gift? Everybody needs a Flickr Pro Account!