Multiple choice technology programming languages

To display all the values of all the variables in the log, the option used is

  1. put ALLVAR

  2. put VAR

  3. put ALL;

  4. put ;

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

In a SAS DATA step, the PUT _ALL_; statement is the correct syntax used to write the names and values of all variables in the program data vector (PDV) to the SAS log. The other options like _ALLVAR_ or _VAR_ are invalid SAS syntax.