Hi, I am having a problem renaming columns with capitals. SAS will only capitalize the variables that are different on the left and right of the equal signs. I would like to rename a variable exactly the same just with capitals. Ex. I would like run_number to become Run_Number. However, SAS will not recognize the command and leave the variable name as run_number. I have provided the code below. data temp.GPS_Edit5 (rename =(lightbeam=_Lightbeam run_number=Run_Number last_name=Last_Name first_name=First_Name discipline=Discipline distance_m=_Distance_m speed_kmh=_Speed_km_h roll_angle=_Roll_angle lightbeam_time_s=_LB_time_s corr_z=Corr_z)); set temp.GPS_Edit4; run; Thanks!
... View more