|Date: ||Mon, 21 Aug 2000 09:47:15 +0200|
|Reply-To: ||Wright Howard <HWRIGHT@OLDMUTUAL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Wright Howard <HWRIGHT@OLDMUTUAL.COM>|
|Subject: ||Re: Identification of the SAS version currently running?|
|Content-Type: ||text/plain; charset="iso-8859-1"|
Have a look at the SYSVER automatic macro variable:
%put I am using release: &sysver;
It list the version of SAS that you are executing. If you want more detail
(e.g maintenace release leve use SYSVLONG.
Cape Town, South Africa
From: Matti Haapanen
Sent: 21 August 2000 09:06
Subject: Identification of the SAS version currently running?
I hope this has not been asked here too many times. I am converting some SAS
code written for the version 6.12 to be compatible with V8. This code
should preferrably be executable on the both versions as many of the people
who use this code have not upgraded to V8. Is there a macro variable or any
other method that I can use to identify which SAS version is currently
running, and execute an appropriate piece of code. I mean something like
if sasversion=6.12 then do
...execute V6.12 compatible code...
else if sasversion=8 then do
...execute V8 compatible code...