Have a look of PROC LOGISTICS chapter in SAS surpport official web site, and you can download the SAS/STAT users' guide also.
The programs maybe like the code bellow:
PROC LOGISTIC DATA=_DATANAME_;
CLASS Y X1;/*Y is the dependent variable, X1 is a independent variable, both are catagorical variable*/
MODEL Y=X1 X2;/*X2 can be continuous variable*/
RUN;
You can adjust the code above to analyze your data.