The variable attributes of SAS data sets ONE and TWO are shown below:
ONE:
# variable type len pos
2 sales num 8 8
1 year num 8 0
1 year num 8 0
TWO:
# variable type len pos
2 budget num 8 8
3 sales char 8 16
Data set ONE contains 100 observations.Data set TWO contains 50 observations.Both data sets are sorted by the variable YEAR.The following SAS program is submitted:
data three;
merge one two;
by year;
run;
which one of the following is the result of the program execution?
A.No message are written to the SAS log.
B.ERROR and WARNING messages are written to the SAS log.
C.Data set THREE is created with two variables and 50 obs.
D.Data set THREE is created with three variables and 100 obs.
Answer: B
why this program will cause error ?
3xxxxxx