Hi, I have data set A that has a variable formatted in CHAR32. I have dataset B that has the same variable formatted in BEST19. I'm trying to merge both datasets into one, but SAS will not let me because the formats are different. I've tried converting dataset B variable from numeric to character using: try1: format var2 32..; var2=var1; doesn't work. It truncates the variable, despite the variable only having 19 digits. try2: var2=put(var1, 32.); doesn't work. It truncates the variable, despite the variable only having 19 digits. Then I tried to to convert dataset A from character to numeric: try3: var2=var1; format var1 best19.; doesn't work because SAS doesn't recognize the format best19. NOTE:484-185. try4: var=input(var, 19.); Again, it truncates the variable. Can anyone help me? Thanks.
... View more