%macro merge;
DATA sample.export1;
if &TestProp NE 100
then %clipboard;
Run;
PROC APPEND BASE=sample.export1 DATA=sample.export FORCE;
run;
%mend merge;
%merge
What I'm doing is merging several tables ( from 2 to 5)into a summary sheet. Each time get new list of observations from a clipboard procdure, and append to the summary sheet.
Is it possible to be done like this? The above code is not complete. I 'm not very familiar with macro.
Thanks for advicing.
Another question: is there some kind of statement like GOTO in SAS?
DATA sample.export1;
if &TestProp NE 100
then %clipboard;
Run;
PROC APPEND BASE=sample.export1 DATA=sample.export FORCE;
run;
%mend merge;
%merge
What I'm doing is merging several tables ( from 2 to 5)into a summary sheet. Each time get new list of observations from a clipboard procdure, and append to the summary sheet.
Is it possible to be done like this? The above code is not complete. I 'm not very familiar with macro.
Thanks for advicing.
Another question: is there some kind of statement like GOTO in SAS?