In reply to Yichuan Zhang.

To compute a proportion, you need a numerator (the number of events) and a denominator (the number of trials). If Trials is the observed vector denominators for the data. This might not be good for visualizing the confidence limits, so you can create a second vector (nTrials) for plotting purposes. For example, if you want 20 evenly spaced points to plot, you can use the following:
minN = min(Trials); maxN = max(Trials);
n = T( do(minN, maxN, (maxN-minN)/20) );
n = round(n); /* binomial parameter must be integer */

If that doesn't answer your question, post your program (and data, if possible) to the SAS Support Community for SAS/IML programmers.