turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- General Programming
- /
- Please explain the below question.

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-18-2015 07:18 AM

The following GAS program is submitted:

data work.empsalary;

set work.people (in = inemp)

work.money (in = insal);

if insal and inemp;

run;

The SAG data set WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7

observations. How many observations will the data set WORK.EMPSALARY contain?

A. 0

B. 5

C. 7

D. 12

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Divya_S123

08-18-2015 07:58 AM

A ?

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Divya_S123

08-18-2015 08:03 AM

If I was teaching a class, this is the kind of question that I would ask my students to think about to make sure they understand the IN= data set option. Here is the documentation: