Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find SAS version from SAS Enterprise Guide?

Tags:

sas

In my previous work place where I had access to base SAS (running SAS interactively on the server directly), I could find out the current SAS version easily (from the SAS log) by issuing the code proc setinit; run;

In my new work place there is no base SAS - only Enterprise Guide. I try running the same code but the SAS version does not appear in the SAS log.

I would like to easily find out the SAS version running on the server from Enterprise Guide. Is this possible or not? If so, how?

like image 381
Atlas7 Avatar asked May 05 '16 16:05

Atlas7


2 Answers

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;
like image 176
Reeza Avatar answered Sep 17 '22 15:09

Reeza


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.

like image 38
Joe Avatar answered Sep 19 '22 15:09

Joe