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 16:42:20 +0100
Reply-To:   Ace <>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Ace <>
Subject:   Re: Macro to save/restore options
Content-Type:   text/plain; charset=us-ascii

On Tue, 27 Jan 2004 10:30:21 -0500, "Richard A. DeVenezia" <> wrote:

>"Chang Y. Chung" <chang_y_chung@HOTMAIL.COM> wrote in message > >> 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

Damn. And I spent five minutes or more on my answer :-)

-- Ace in Basel - brucedotrogers a.t rochedotcom

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