The following SAS program is submitted:
How will the variable be listed?
The following SAS program is submitted:
How will the variable be listed?
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'.
answer C