I have two data sets. Table1 has just one record. Table2 has many records. I want to combine these so that the variables from Table1 are added to every record in Table2.
I know this can be done with proc sql like this:
proc sql;
create table3 as
select *
from table1, table2;
quit;
I want the same result, but using a data step. What’s the best (elegant, efficient) way to do this?
That’s the simplest way.