Hello SAS community, Can somebody suggest how to create a set of all possible pairs of observations (Cartesian product) without using proc sql? Say I have a data set test1: data test1; do x=1 to 3; y=x+10; output; end; run; I would like to create a data set test2 that contains all possible combinations of x and y: data test2; input x y; datalines; 1 11 1 12 1 13 2 11 2 12 2 13 3 11 3 12 3 13 ; run;
... View more