BookmarkSubscribeRSS Feed
devi001
Obsidian | Level 7

Hello,

 

We are trying to use the DQLOAD macro in the default 'Identify Gender' snippet within SAS Viya. However we get the below error. Is this because DQLOAD requires additional parameters as input such as the QKB location? In this case how do we identify the QKB location in our SAS Viya Environment?

 

Code:

%dqload(dqlocale=(ENUSA));

Data _null_;

Length name$100;

Length gender $20;

Name='Mrs. Sallie Mae Pavlik'

Gender=dqgender(name,'Name','ENUSA');

PUT GENDER;

run;

 

Log:

NOTE: DQLOAD macro beginning

WORK    "SASGOPT

ERROR: ERROR in the FILENAME statement

NOTE: DQLOAD macro ending

 

 

Thanks in advance!

1 REPLY 1
SASKiwi
PROC Star

Typically you use the DQSETUPLOC parameter to specify the file location in the call to DQLOAD like so:

%DQLOAD(DQLOCALE=(ENUSA), DQSETUPLOC='/MyFolder/SASQualityKnowledgeBase/CI/CI30_qkb1');

Talk to your SAS administrator if you don't know the QKB location.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Discussion stats
  • 1 reply
  • 381 views
  • 0 likes
  • 2 in conversation