BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
4561
Calcite | Level 5

I am using GWNBR Macro, I get the following error. Does anyone know what the reason could be? 

 

939 %gwnbr(data=mydata,y=acc,x=length,lat=yc,long=xc,h=
939! 59.899665,gwr=global,method=fixed,geocod=op,out=gwr);
NOTE: IML Ready
ERROR: Invocation of unresolved module QNTL.

statement : CALL at line 939 column 1
ERROR: (execution) Matrix has not been set to a value.

operation : [ at line 939 column 1
operands : qntl, *LIT1306,

qntl 0 row 0 col (type ?, size 0)


*LIT1306 1 row 1 col (numeric)

3

statement : ASSIGN at line 939 column 1
ERROR: Matrix qntl has not been set to a value.

statement : PRINT at line 939 column 1
ERROR: Invocation of unresolved module QNTL.

statement : CALL at line 939 column 1
ERROR: (execution) Matrix has not been set to a value.

operation : [ at line 939 column 1
operands : qntls, *LIT1314,

qntls 0 row 0 col (type ?, size 0)


*LIT1314 1 row 1 col (numeric)

3

statement : ASSIGN at line 939 column 1
ERROR: Matrix qntls has not been set to a value.

statement : PRINT at line 939 column 1
NOTE: The data set WORK._PARAMETERS_ has 8 observations and 11 variables.
NOTE: Exiting IML.
NOTE: The data set WORK._RES_ has 8 observations and 7 variables.
NOTE: The data set WORK._STAT_ has 1 observations and 10 variables.
NOTE: The data set WORK._BETA_ has 16 observations and 8 variables.
NOTE: The data set WORK._ALPHA_ has 8 observations and 11 variables.
NOTE: The data set WORK._SIG_PARAMETERS2_ has 8 observations and 2 variables.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IML used (Total process time):
real time 1.74 seconds
cpu time 0.07 seconds

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

The simplest explanation is that you are running an ancient version of SAS.

 

The error message says 

ERROR: Invocation of unresolved module QNTL.

That means that the macro is calling the QNTL function in PROC IML, but your version of SAS does not have it.

 

The QNTL function was introduced way back in SAS 9.3 (2011). You can run the statement 

%put &=SYSVLONG;

to get a message in the log that tells you your version of SAS. 

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

The simplest explanation is that you are running an ancient version of SAS.

 

The error message says 

ERROR: Invocation of unresolved module QNTL.

That means that the macro is calling the QNTL function in PROC IML, but your version of SAS does not have it.

 

The QNTL function was introduced way back in SAS 9.3 (2011). You can run the statement 

%put &=SYSVLONG;

to get a message in the log that tells you your version of SAS. 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 1 reply
  • 517 views
  • 0 likes
  • 2 in conversation