Multiple choice technology programming languages

The following SAS program is submitted: data null; set old; put var1 var2; run; Where is the output written?

  1. to the SAS log file

  2. to the SAS data set NULL

  3. to a raw data file that was recently open

  4. none of these

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

The NULL dataset in SAS is a special dataset that doesn't actually store data - it's used for processing without creating output datasets. The PUT statement writes to the SAS log, not to any dataset. NULL cannot store data, so output goes to log by default.