BookmarkSubscribeRSS Feed
0 Likes

PROC OPTIONS displays far more options than PROC OPTSAVE is able to save.  PROC OPTSAVE will not save options that can only be specified at startup.  

 

However, it's helpful at times ( e.g. when comparing SAS Server configs when migrating servers ) to save all options in a dataset.  The alternative is parsing the log output created by PROC OPTIONS.

 

Two potential solutions:

  1. allow PROC OPTSAVE to capture all options in the OUT= dataset
  2. add OUT= to PROC OPTIONS 
3 Comments
ChrisHemedinger
Community Manager

 Hi @HarryD,

 

Did you know that you can find the current values for all options in DICTIONARY.OPTIONS (SASHELP.VOPT)?

 

proc sql;
 create table saveopts as select *
  from dictionary.options;
quit;
HarryD
Fluorite | Level 6

Of course, the dictionary views!  Excellent, thank you Chris.  

ChrisHemedinger
Community Manager
Status changed to: Not Planned

Changing this to Not Planned -- although technically it's already delivered, just by a different mechanism!

 

proc sql;
 create table saveopts as select *
  from dictionary.options;
quit;