Previous Page | Next Page

Automatic Macro Variables

SYSVER Automatic Macro Variable



Contains the release number of SAS software that is running.
Type: Automatic macro variable (read only)
See also: SYSVLONG Automatic Macro Variable , SYSVLONG4 Automatic Macro Variable

Comparison
Example
Identifying SAS Software Release

Comparison

SYSVER provides the release number of the SAS software that is running. You can use SYSVER to check for the release of SAS before running a job with newer features.


Example


Example 1: Identifying SAS Software Release

The following statement displays the release number of a user's SAS software.

%put I am using release: &sysver;

Submitting this statement (for a user of SAS 9.2) writes the following to the SAS log:

I am using release: 9.2

Previous Page | Next Page | Top of Page