/* Store permutations in a SAS dataset. Translation of Fortran 77 */ data perm; n=6; array a{6} p1-p6; do i=1 to n; a(i)=i; end; L1: output; link L2; if next then goto L1; stop; L2: next=0; i=n-1; L10: if a(i)