You can also do this as a one-liner in PROC OPTMODEL: proc optmodel; print {i in 0..3.4 by 0.1, j in 0..0.09 by 0.01} (cdf("Normal", i+j) - 0.5) 6.4; quit;