Multiple choice technology platforms and products

data null; y = "Run"; y = "My Friend"; run; proc print; run; Output of print procedure?

  1. My Friend

  2. Run

  3. My

  4. Error

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

The DATA step uses _null_ which does not create a dataset. When proc print; runs, it attempts to print the most recently created dataset. Since no dataset was created, it results in an error.