I need to start from sas data have and get sas data want. Below is the test dataset. My actual data has much more date column so I caot rename them manually. The first two columns (not date columns) do not have to be renamed. For the first date column, rename it as V1, second V2, and there after V3, V4. ...
Data have;
Name= "John";
City="ice";
'06/2006'n= 23;
'07/2006'n = 56;
'12/2006'n = 43;
'11/2006'n = 23;
'10/2006'n = 12;
Run;
Data want;
Name= "John";
City="ice";
V1= 23;
V2 = 56;
V3= 43;
V4 = 23;
V5= 12;
Run;
