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"
X-LSVTag: From: Kang_S <Kang_S@BLS.GOV>
X-LSVTag: To: 'SAS-L' <firstname.lastname@example.org>
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
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
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
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).
Is there a way to remove and recreate WORK library within SAS
Is there a command to refresh files in WORK library?
Thank you very much.