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 (March 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 8 Mar 2010 18:02:30 -0500
Reply-To:     Ya Huang <ya.huang@AMYLIN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ya Huang <ya.huang@AMYLIN.COM>
Subject:      Re: Running SAS on PC, need to delete old compiled macro
Comments: To: SUBSCRIBE SAS-L Dan <deniseyu001@GMAIL.COM>

Check out this old thread:

http://listserv.uga.edu/cgi-bin/wa?A1=ind0607c&L=sas-l#164

I think the conclusion is not to permanently compile the macro, instead, %include the source and it will be compiled on the fly.

On Mon, 8 Mar 2010 15:15:11 -0500, SUBSCRIBE SAS-L Dan <deniseyu001@GMAIL.COM> wrote:

>Hi. SASLers: > >I have been running SAS using VMS and batch submit for some time. I am >switching to SAS windows interactively. At present when I run the program, >I have logs accumulate from last time run. That is not a big deal as long >as I clear log window every time. However, when come to Sasmacr "catalog" >in work directory, I am having the real problem. I stored the macros at my >hard disk and I use the following options: >options sasautos=('C:\Mymacrolocation'); >After first time the macros compiled, it will not recompile even if I >modify the macro code at its physical location. What I have to do is to >physically get into the Sasmacr at work directory and delete them manully. > >Is there a program way to delete compiled macro when I run the program? I >tried the following: > > proc datasets library=work kill; > >and I got these messages: > >NOTE: Deleting WORK.SASMACR (memtype=CATALOG). >NOTE: File WORK.SASMACR (memtype=CATALOG) cannot be deleted because it is >in use. > >I also interested in deleting the macro vaiables compiled from previous run. > >To be short, I want to mimic the running process as close as possible to >batch submit. In other words, I want to run program "fresh" every time. > >Thanks. > >Dan


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