I have a table with four variables and i want the table a table with combination of all values. Showing a table with only 2 columns as an example.
NAME AM
Try
PROC SQL; CREATE TABLE tbl_out AS SELECT a.name AS name ,b.amount AS amount ,c.count AS count FROM tbl_in AS a, tbl_in AS b, tbl_in AS c ; QUIT;
This performs a double self-join and should have the desired effect.