It was my understanding that with SAS system options (such as ORIENTATION or PAGESIZE), that you could change the option during your SAS session, but that when you restarted, that SAS would return to a default setting. For some reason, though, the system options in place when I start up a new SAS session are the same as what they were at when I ended my previous session. For instance, if I set orientation to LANDSCAPE, then the next time I start SAS, the option in effect is LANDSCAPE.
I haven't tried saving any options settings in a configuration file or an autoexec file or anything like that, so I'm not sure what's going on here. Is there some command or programming statement I can use to restore whatever the SAS factory defaults are for all system options? Is there any way I can get this whole problem to stop happening outside of asking IT to totally reinstall SAS?
I never save my option settings, so I change settings from the SAS default only on an as-needed basis, like if I need to have the orientation changed, or if I want the missing value of something displayed differently, like this:
option orientation = landscape;
option missing = "0";
I never save those changes, though, so I'm extremely confused as to how I've gotten myself into this situation.
I’m somewhat perplexed why the solutions which were already proposed did not work. One additional alternative is to set all your options the way you want them, use PROC OPTSAVE to save them, and then use PROC OPTLOAD any time you want to reset your options.
Thanks for that suggestion. I opened up another SAS window while my primary SAS window was already open, thus having SAS use the default options, and I saved those. I tried clicking the "save settings" and closing SAS after loading the saved options. That didn't keep the options back to the saved option settings, though. When I started up SAS again, the orientation was back at landscape.