题目:是[sas programming by example]的problem5-5
You have two SAS data sets, ONE and TWO. Data set ONE contains a variable called DATE1 which is a character variable in the form MM/DD/YY. (i.e. variable DATE1 is not a SAS date, which is a numerical quantity, but rather a character string of length 8.) Variables HEIGHT and WEIGHT are also contained in data set ONE. Data set TWO contains a character variable called DATE2 which is in the form ddMONyy. Data set TWO also contains the variable HR (heart rate). Write a program to merge these data sets by date, and assume that there are no duplicate dates in each of the data sets. Solve this problem two ways:
a) Use the PUT function to create a new variable in one of the data sets so that the two data sets have an identical variable to use.