static boolean IsVersionOrLater( int nMajorVersion, int nMinorVersion )
If the version number of the SAS server is greater than or equal to the specified version number, the return value is true. Otherwise, the return value is false.
int nMajorVersion
A SAS major version number.
int nMinorVersion
A SAS minor version number.
Use this method to determine whether the version number of the SAS server on which the program is running is greater than or equal to the specified version number.
if ( SAS.IsVersionOrLater( 9, 2 ) ) then
print "Yes";
else
print "No";