03-02-2015 06:32 PM
I have below table and I want to create a single table out of that.
I know I can use set statement in below way to concatenate it.
set table_1 table_2 table_3 table_4 table_4 table_5.;
but don't want to do like this. I want to combine it using loop so that I don't have to write every table name.
03-02-2015 06:48 PM
Don't be loopy.
set table_1 - table_5;
Or to combine all tables that start with table_ use colon modifier.
03-03-2015 02:37 AM
Where do you get the table names from? Depending on the way you do this, you could write a piece of code that creates the list of tables dynamically.
03-03-2015 05:34 AM
If you still want to try loop..
%do i = 1 %to 5