OPTSAVE Procedure

Example: Saving System Options in a Data Set

Features:

PROC OPTSAVE option:: OUT=

Details

This example saves the current system option settings using the OPTSAVE procedure.

Program

libname mysas "c:\mysas";
proc optsave out=mysas.options;
run;

Program Description

Create a libref.
libname mysas "c:\mysas";
Save the current system option settings.
proc optsave out=mysas.options;
run;

Log

The following is the SAS log output:
1    libname mysas "c:\mysas";
NOTE: Libref MYSAS was successfully assigned as follows:
      Engine:        V9
      Physical Name: c:\mysas

2    proc optsave out=mysas.options;
3    run;

NOTE: The data set MYSAS.OPTIONS has 259 observations and 2 variables.
NOTE: PROCEDURE OPTSAVE used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds