SAS OnlineTutorback||next

Try It! Merge the sorted data sets Work.Adsort and Work.Strsort by ID.

Creating HTML output? Read this first.

  1. Print Work.Adsort and Work.Strsort and scroll through the output. Note the variables and number of observations in each data set.

    NOTE: Work.Adsort and Work.Strsort were created in the previous practice. If you haven't created these data sets, return to the practice and create them before proceeding here.

  2. Create the data set Sasuser.Merged by match-merging the data sets Work.Adsort and Work.Strsort by the variable ID.

  3. View log messages about the DATA step. Was Sasuser.Merged created successfully? How many observations and variables does the new data set contain?

  4. Print Sasuser.Merged and scroll through the output. Do all observations appear to match correctly?

    Return here and select Next.

Solution

back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA.
All rights reserved.

Terms of Use & Legal Information | Privacy Statement