In reply to Xinxin.

The article you linked to is about sampling random values from a truncated normal distribution. My article has nothing to do with random values. If you want random values, use his method. If your problem is that the normal density for your situation does not align with the histogram of expected values, then it is because you aren't plotting the whole data range. Try DO t= -1320 to 2520;
If you still have problems, post your code to the SAS Support Community.