/******************* URBAN INSTITUTE MACRO LIBRARY *********************
: SAS_compatibility
Macro: Submits system options for backward compatibility
Description
of earlier SAS versions. 9.3 and 9.4 to
Currently supports backward compatibility of versions 9.2.
: Open code
Use
: Peter Tatian
Author
***********************************************************************/
SAS_compatibility(
%macro ver=9.2 /** Version number (currently only 9.2 supported) **/
);
/*************************** USAGE NOTES *****************************
:
SAMPLE CALLSAS_compatibility( )
%*********************************************************************/
/*************************** UPDATE NOTES ****************************
*********************************************************************/
***** ***** ***** MACRO SET UP ***** ***** *****;
%
***** ***** ***** ERROR CHECKS ***** ***** *****;
%
%if &ver ~= 9.2 %then %do;
err_mput( macro=SAS_compatibility, msg=Value ver=&ver not supported. )
%
%goto exit;
%end;
***** ***** ***** MACRO BODY ***** ***** *****;
%
%if %sysevalf(&sysver >= 9.3) %then %do;
=no validmemname=compatible;
options extendobscounter
%end;
:
%exit
***** ***** ***** CLEAN UP ***** ***** *****;
%
%mend SAS_compatibility;
/************************ UNCOMMENT TO TEST ***************************
options mprint mlogic symbolgen;SAS_compatibility()
%SAS_compatibility( ver=6 )
%/**********************************************************************/
Backward Compatability
Purpose: Submits system options for backward compatibility of earlier SAS versions. Currently supports backward compatibility of versions 9.3 and 9.4 to 9.2.