A00-212 Exam QuestionsBrowse all questions from this exam

A00-212 Exam - Question 19


The following SAS program is submitted:

How will the variable be listed?

Show Answer
Correct Answer: CD

The SAS program provided defines two macros, COLS1 and COLS2. The COLS1 macro includes 'Name Age', and the COLS2 macro includes 'Height Weight'. However, only the COLS1 macro is used in the PROC PRINT step. When the PROC PRINT step is executed, it will include the variables 'Weight Height' explicitly specified in the VAR statement, followed by the variables included in the COLS1 macro, 'Name Age'. Therefore, the correct order of variables listed will be 'Weight Height Name Age'.

Discussion

1 comment
Sign in to comment
mhminkovOption: C
Aug 20, 2021

answer C