Huh???
To read your original data.
data have ;
input plantype1 plantype2;
datalines;
11 22
12 23
13 24
;
To convert to the new structure from there.
data want ;
set have ;
name='Plantype1';
name1='Plantype2';
rename plantype1=valu1 plantype2=valu2;
run;
The obvious question is WHY would you want to make this change?
Also why name series of variables where the number start being appended on the second name in the series. like X, X1, X2, instead of X1, X2, X3. If you use the later convention then you can use variable lists. Also it will be less confusing to the users of the data.