I'm using SAS 9.4 and this is first time I'm using DQGENDER to identify gender from name. Here is the code:
data sample1; set sample;
gender = dqGender(name, 'Gender', 'ENUSA');
run;
The code returns the following error.
"ERROR 68-185: The function DQGENDER is unknown, or cannot be accessed."
Not sure what I missing. Any help is appreciated.
Do you have https://www.sas.com/en_us/software/data-quality.html installed?
Run PROC SETINIT to check if you have it licensed.
Do you have https://www.sas.com/en_us/software/data-quality.html installed?
Run PROC SETINIT to check if you have it licensed.
Thank you for pointing that out. I don't have it installed.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.