SAS Certified Specialist: Base Programming Using SAS 9.4 — Question 1

Which clause allows macro variable creation on a select statement in PROC SQL?

Answer options

Correct answer: D

Explanation

The correct answer is %MACRO, as it defines a macro that can generate macro variables. The INTO clause is used to assign values to macro variables, while SYMPUT is a function used in data step processing, and AS is typically used for creating aliases in SQL queries.