Multiple choice technology programming languages

proc sort data=new dupout=newdup;by x;run;What is the result of the above proc execution?

  1. Warning is displayed : NODUPKEY or NODUPREC not specified

  2. The duplicates are written into the dataset newdup

  3. syntax Error

  4. The unique records are written into the dataset newdup

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

In SAS, using the DUPOUT= option in PROC SORT without specifying either the NODUPKEY or NODUPREC option results in a warning in the SAS log because SAS does not know how to identify duplicates. Thus, no duplicates are written to the newdup dataset.