Example: concatenate 500 data sets with exactly the same variables...
Use OPEN=DEFER on the set statement.
array _n[251:700] (251:700);
call symputX('members',cats('work.A',catx(' work.A',of _n[*])));
%put NOTE: members=&members;
do i = 1 to 10;
set &members open=defer;
On Jan 14, 2008 1:26 PM, <email@example.com> wrote:
> I have 500 dataset named from a251 to a750. All of them have exactly
> the same variables. How can I merge them into one dataset by using
> macro? Thanks.