%macro test1; /*定义SAS宏过程1*/
%local y; /*定义局部宏变量*/
%let y=100;
%put &y;
%mend test1;
%test1; /*调用SAS宏过程1*/
%macro test2; /*定义SAS宏过程2*/
%put &y;
%mend test2;
%test2; /*调用SAS宏过程2*/
%macro test1; /*定义SAS宏过程1*/
%local y; /*定义局部宏变量*/
%let y=100;
%put &y;
%mend test1;
%test1; /*调用SAS宏过程1*/
%macro test2; /*定义SAS宏过程2*/
%put &y;
%mend test2;
%test2; /*调用SAS宏过程2*/