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 (July 1997, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 24 Jul 1997 11:21:13 -0400
Reply-To:     Kang_S <Kang_S@BLS.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Kang_S <Kang_S@BLS.GOV>
Subject:      PC-SAS question -- cleaning up WORK library
Content-Type: text/plain; charset="us-ascii"

<c=US%a=_%p=BLS%l=DCPCSMAIL1-970724152113Z-5974@psbmailhub.psb.bls.gov> X-LSVTag: From: Kang_S <Kang_S@BLS.GOV> X-LSVTag: To: 'SAS-L' <sas-l@akh-wien.ac.at> X-LSVTag: Subject: PC-SAS question -- cleaning up WORK library X-LSVTag: Date: Thu, 24 Jul 1997 11:21:13 -0400 X-LSVTag: X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 X-LSVTag: Mime-Version: 1.0 X-LSVTag: Content-Type: text/plain; charset="us-ascii" X-LSVTag: Content-Transfer-Encoding: 7bit To: $PEER$ <SAS-L@VTVM1.CC.VT.EDU>

PC SAS 6.11

PROBLEM:

Every time I run my program (macro intensive) and encounter a problem (within a macro code) I need to restart my SAS session (annoying and time consuming). If I don't, then when I correct the problem rerun within the same SAS sessioin I receive the same error message. This leads me to believe that SAS reuses macros in WORK library without refreshing them.

I have used following code to clean up the WORK library.

PROC DATASETS LIBRARY = WORK KILL;

But this code does not remove macro catalog called "SASMACR" in WORK library, so same errors reappear unless I restart my SAS session.

I have used "PROC CATALOG CAT=WORK.SASMACR KILL" and it does remove all macros defined within SASMACR catalog. However, when I rerun my program within the same SAS session, SAS gives me an error "Apparent invocation of macro not resolved" for some macros (not all).

HELP ON:

Is there a way to remove and recreate WORK library within SAS session? Is there a command to refresh files in WORK library? Any solutions?

Thank you very much.

Sang


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