Here is a more efficient way to create your AUTOS data set:
DATA auto;
do dice1= 1 to 6;
do dice2= 1 to 6;
sum_dices = sum(dice1, dice2);
output;
end;
end;
run;
Why do I say more efficient? Can change for 6-sided dice to any N-sided dice where N >= 1. Adding a third, forth or more dice is simple by just adding more do loops, one for each. You can easily examine differences involving more or different numbers of faces on dice.
Since 3 6-sided dice has 216 permutations that would be a lot of cards statements to get right.