Given the data sets AMERICIAN NATIONAL and results in the data set BASEBALL shown below:

Which DATA step correctly creates the BASEBALL data set?
The correct answer is B. The set statement in SAS can concatenate multiple datasets together. The AMERICAN and NATIONAL datasets appear to have the same structure and variables, so the set statement without any options will combine them into one dataset called BASEBALL. The order of the datasets in the set statement determines the order of the observations in the output dataset, and since there is no variable that needs renaming to match between the two datasets, option B is the correct answer.
SAS documentation on the set statement.
Angelyn
4 months agoTyra
4 months agoAdela
4 months agoKina
5 months agoGlen
5 months agoDeandrea
5 months agoAnnice
5 months agoArt
6 months agoRosamond
6 months agoCharolette
6 months agoGlen
6 months agoSelene
6 months agoLeonida
7 months agoValda
7 months agoElliot
12 months agoMyra
10 months agoTruman
10 months agoAzalee
11 months agoCarol
12 months agoHeike
10 months agoCorazon
11 months agoMariann
11 months agoLili
1 year agoNell
10 months agoDeandrea
10 months agoBrett
11 months agoBrandon
12 months agoJanella
1 year agoKaran
1 year agoJanella
1 year ago