Hi, I have a dataset called TEMP and has column names as VAR1, VAR2, VAR3, ....., VAR300. I would like to rename VAR1 to CARNUM, VAR2 to MARK, AND VAR3 ~ VAR300 in Y4-M2 format. VAR3 = 2000-01, VAR4 = 2000-02, VAR5 = 2000-03, VAR6 = 2000-04, VAR7 = 2000-05, VAR8 = 2000-06, .... VAR15 = 2001-01, VAR16 = 2001-12, and ect. Is there a way that I can use a do loop to rename VAR3 ~ VAR 300? Many thanks,
... View more