Question: 2. Controlling Case-Sensitivity in a Macro Copy the program shown below into the Editor window. proc means data=orion staff sum mean; var Salary; class
2. Controlling Case-Sensitivity in a Macro Copy the program shown below into the Editor window. proc means data=orion staff sum mean; var Salary; class Job Title; www. where Job Title contains "Sales"; title "Summary Statistics for the Sales Group"; run; a. Convert the program into a macro named SUMSTATS. Replace occurrences of Sales with a macro variable reference. Modify the SUMSTATS macro so that the macro variable and the data set variable in the WHERE statement are not case-sensitive. Compile and execute the macro using sales as the value for the macro variable. b. Alter the macro variable reference in the TITLE statement to display the value in proper case.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
