Procedure features: |
PROC
CATALOG statement:
|
CATALOG= argument |
|
KILL option |
|
FORCE option | |
QUIT
statement |
RUN statement |
|
This example
-
creates a resource
environment
-
tries to delete all catalog entries by using the KILL option but
receives an error
-
specifies the FORCE option to successfully delete all catalog
entries by using the KILL option.
 |
%macro matt;
%put &syscc;
%mend matt;
|
 |
proc catalog c=work.sasmacr kill;
run;
quit; |
ERROR: You cannot open WORK.SASMACR.CATALOG for update access because
WORK.SASMACR.CATALOG is in use by you in resource environment
Line Mode Process.
WARNING: Command CATALOG not processed because of errors noted above.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE CATALOG used (Total process time):
real time 0.04 seconds
cpu time 0.03 seconds
 |
proc catalog c=work.sasmacr kill force;
run;
quit; |
NOTE: Deleting entry MATT.MACRO in catalog WORK.SASMACR.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.