Generally, the process of writing code to create dummy variables is not necessary in SAS, as most SAS procedures have built-in to them the ability to create dummy variables. In your case, you would have to separate the values on either side of the comma to be separate variables. Or, since you said you already have them separated in Excel, just read those into SAS and let the SAS PROC do its internal calculation of dummy variables.
... View more