Multiple choice technology

What is the result of submitting the follwing program? data work.group; set company.usa end=last; if last; run;

  1. an error

  2. an empty datas set

  3. a continous loop

  4. a data set that contains one observation

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

This is identical to question 129756. The END=last option creates a variable equal to 1 for the last observation. The conditional 'if last;' outputs only that observation, producing a dataset with exactly one row.