Hi,
The idea is to allow to use hyphen(-) notation in the DATA statement. So the following code would work:
data b1-b10 ;
set sashelp.class ;
run ;
and create 10 data sets b1 to b10.
The idea is to make it symmetric to SET statement behavior such as:
data a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 ;
do value1 = 1 to 10;
output;
end;
run ;
data All_a1_to_a10 ;
set a1-a10;
run ;
All the best
Bart
See more ideas labeled with:
13 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.