I have a data set similar to this one:
DATA zzz;
input prop $15. state $;
datalines;
101|102|103|224 CA
104|105|106 CA
107|108|109 FL
110|111|112|989 FL
;
run;
I would like to break up the prop variable and put each value as a new observation matched with state. IE, I would like to end up with:
Prop State
Row 1: 101 CA
Row 2: 102 CA
Etc.
I always get confused when dealing with new rows in SAS.