Multiple choice technology programming languages

data null; put ‘test’; run; Where will the ouput(test) be written?

  1. Syntax error

  2. Log

  3. In Last file opened

  4. In dataset null

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

In SAS, the NULL dataset is a special placeholder that doesn't create an actual dataset. When used with PUT statement without a FILE statement, output is written to the SAS Log by default. This is standard SAS behavior for NULL data steps with PUT statements.