|
Hey All,
I'm writing a macro that creates an output dataset--here's the
signature:
%macro GetSSTY(FromDt, ToDt, InSet, OutSet) ;
I'd like to delete the &OutSet, if it exists, w/out making the user
specify the libname & dset name in two separate parameters, and without
causing sas to write a:
WARNING: File FOO.BAR does not exist.
To the log. Is that possible? If I do a:
drop table &OutSet ;
In a call to proc sql, I get that warning.
The only other way I know how to do this is w/PROC DATASETS, but for
that you've got to specify the Library in an option (or so it seems to
me anyway).
Anybody got a clue for me? I'm running v8.2 on win2k.
Thanks!
-Roy
Roy Pardee
Research Analyst/Programmer
Center For Health Studies (Cancer Research Network)
Group Health Cooperative
(206) 287-2078
This message and any attached files might contain confidential
information protected by federal and state law. The information is
intended only for the use of the individual(s) or entities originally
named as addressees. The improper disclosure of such information may be
subject to civil or criminal penalties. If this message reached you in
error, please contact the sender and destroy this message. Disclosing,
copying, forwarding, or distributing the information by unauthorized
individuals or entities is strictly prohibited by law.
|