Hi everyone, I have what is probably a very easy question, but I can't seem to find the solution after searching for a while. I would appreciate any and all suggestions to my problem below: I have two data sets and want to merge them with the common variable they have, date. In one data set the year includes the year month and date, the other data set includes just the year and month. For example Data Set 1 would have 196801 for January 1968, and Data Set 2 would say 19680131 for January 31, 1968. What I need to do is "chop off" the dates in the second data set, so that it only shows 196801 instead of 19680131. I want to do this because I want SAS to know that these two data sets have a common variable, so that I can merge them into one. Thanks in advance!
... View more