How to find SAS version from SAS Enterprise Guide?

The values you're looking for are stored in automatic macro variables in your system. The code below retrieves the macro variables and prints them to the log for your information.

%put ** my information;
%put short version: &sysver;
%put version: &sysvlong4;
%put site #: &syssite;
%put cpu: &sysscp &sysscpl;

EDIT: Update answer You can use PROC PRODUCT_STATUS which is great, since it will print the relevant information to the log.

proc product_status;run;

There are some other options available rather than using the global macro variables (&sysver and &sysvlong4), if you prefer point-click options.

First, under Help -> About SAS Enterprise Guide, if you select 'Configuration Details' you can see your SAS system version.

Second, if you select the server in the Servers tree (in the window on the bottom left), and right click->Properties, you will see the SAS version/etc. information.

Third, if you continue in that and select "View Initialization Log", it will show you the initialization log (the bit SAS shows when you start a session in the log). This includes the version number and some other useful information.

Tags:

Sas