This SAS Chapter 9 quiz focuses on macro variables, testing understanding through questions on their creation, manipulation, and error handling. It's designed to enhance proficiency in using SAS for dynamic data processing and reporting.
A macro variable can be defined and referenced anywhere in a SAS program except within data lines.
Macro variables are always user-defined, and their values remain constant until they are changed by the user.
Macro variables are text strings that are independent of SAS data sets.
The values of macro variables can be up to 65,534 characters long.
Rate this question:
%let currdate = %sysfunc(today(), worddate.);
%let currdate = &sysdate9;
%let currdate = %sysfunc(date());
All of the above
Rate this question:
&let location = storage;
Let &location = storage;
%let location = "storage";
%let location = storage;
Rate this question:
Options &month;
%PUT &month;
Options symbolgen;
%PUT the macro variable MONTH has the value &month.;
Rate this question:
Sales Report for Southeast Area
Sales Report for "Southeast" Area
*Sales Report for "Southeast" Area*
* Sales Report for "Southeast" Area *
Rate this question:
Expressions, literals, names, and special characters.
Literals, names, numbers, and special characters.
Expressions, names, numbers, and special characters.
Expressions, literals, numbers, and special characters.
Rate this question:
month1 June month2 July period1 June July period2 May June period3 July Aug
month1 June month2 July period1 JuneJuly period2 MayJune period3 July.Aug
month1 June month2 July period1 JuneJuly period2 MayJune period3 JulyAug
month1 June month2 July period1 junejuly period2 Mayjune period3 julyaug
Rate this question:
title "Report for %sysfunc(left(%sysfunc(today(),worddate.)))";
title "Report for %sysfunc(left(today(), worddate.))";
title "Report for %sysfunc(left(%qsysfunc(today(), worddate.)))";
title "Report for %left(today(), worddate.))";
Rate this question:
Title "Total Sales for '&month' ";
Title "Total Sales for 'month'";
Title "Total Sales for &month";
Title Total Sales for "&month";
Rate this question:
Quiz Review Timeline (Updated): Jan 30, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.