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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!