BookmarkSubscribeRSS Feed
Hungry2Learn
Calcite | Level 5

I'm using the following chunk of code to try and score some new data.

 

proc nnet data=casuser.newdata inmodel=casuser.oldmodel;
     score out=casuser.scoreddata;
run;

Upon running this code, I receive the following errors:

ERROR: Invalid argument
ERROR: The action stopped due to errors

 

I've double checked that all of the inputs in the newdata table are named exactly as used in the model and I've tried multiple variations of copyvar arguments in the score statement, but the only change that's been able to eliminate the error is by removing the score statement so that the code is as follows:

proc nnet data=casuser.newdata inmodel=casuser.oldmodel;
run;

The code runs without error in this case, but that doesn't help me. A big part of my problem right now is not knowing what to look and to fix this, so any help would be greatly appreciated.

1 REPLY 1
PaigeMiller
Diamond | Level 26

I agree that this message is very ambiguous, and I have never actually seen this error message myself. Due to the vagueness of the error message, and you attempts to troubleshoot the problem so far, I would contact SAS technical support on this one.

--
Paige Miller

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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