Multiple choice technology programming languages

What happens if you use IN statement with SET: Data Test1; set one two (in=two); if two; run;

  1. It acts like Merge with IN

  2. we cannot use In with SET

  3. it works as expected

  4. Its like setting data with one dataset only

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The SET statement concatenates datasets, and the IN= option creates a boolean indicator. When filtering with IF two, only observations from the dataset marked with IN= are retained, effectively reducing the output to a single dataset's records.