|
"Chang Y. Chung" <chang_y_chung@HOTMAIL.COM> wrote in message
news:200401271456.i0REuqQ15611@listserv.cc.uga.edu...
> Hi,
>
> Does anybody have a macro that makes easy to save/restore sas system
> options? I think I saw something like it somewhere, but could not remember
> where I did that. I am thinking about doing something like in the below.
> Thanks in advance.
>
> Cheers,
> Chang
>
> %saveOptions;
> ...
> temporarily change some options and do something useful
> ...
> %restoreOptions;
If the saving and restoring can occur in a Proc step (seems likely from your
code stub), then try
Proc OPTSAVE and
Proc OPTLOAD
--
Richard A. DeVenezia
http://www.devenezia.com/
|