Hi all, I've raw data for time in character format (hhmm) and the variable name is raw_time: 0733 1132 0729... I need to convert this into numeric format as: 7:33 11:32 7:29 While I'm able to get this output in the desired format, I'm getting a SAS note: Invalid argument to function INPUT at line nn column yy. Did anyone run into this issue before? or have any suggestions on how to correct it? I've done the following programming: .... time1=substr(raw_time,1,1); time2=substr(raw_time,3,2); time3=trim(time1)||':'||trim(time2); format TIME4 time5.; TIME_FINAL=input(time3,time5.); Thanks, varmac
... View more