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 (January 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 27 Jan 2004 10:30:21 -0500
Reply-To:   "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Subject:   Re: Macro to save/restore options

"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/


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