LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Anthony Pitruzzello <tonypit45@YAHOO.CA>
In-Reply-To:  A<75691.91456.qm@web57008.mail.re3.yahoo.com>
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 run statement.)

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Anthony Pitruzzello Sent: Thursday, January 10, 2008 2:20 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Problem Recreating a SAS Dataset

Hello Everyone,

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; run

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: proc datasets; delete students.stu1(gennum=all); run;

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 appreciated.

--------------------------------- Looking for a X-Mas gift? Everybody needs a Flickr Pro Account!


Back to: Top of message | Previous page | Main SAS-L page