Question: Using the data set Mixed, create a temporary SAS data set (also called Mixed) with the following new variables: a. NameLow Name in lowercase b.
Using the data set Mixed, create a temporary SAS data set (also called Mixed) with the following new variables:
a. NameLow Name in lowercase
b. NameProp Name in proper case
I tried this but not working
data mixed; input Name & $20. ID; datalines; Daniel Fields 123 Patrice Helms 233 Thomas Chien 998 ; proc print data = mixed; out learn.mixed replace; NameLow = lowcase(Name); NameProp = propcase(Name); run; title "Listing of data set mixed"; proc print data = mixed; run;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
