Hi,
I'm currently strugglling on the Run Time Error. I tried to build multiple models and just want it to run simply till the Model Comparison node. However, it sometimes just won't go through and shows the Run Time Error on the model comparison node.
I couldn't find any pattern on why this error pops out, it is just so weird that sometimes if I connect one model comparison node after every single model, it runs through successfully, and then I connect multiple models back again to one model comparison as it used be, and there's no error anymore...
most of the run time error pops out on the model comparison node (model comparison is my last node so far cuz I haven't linked any scoring node yet). Couple times pops out run time error on the data node or esemble. Sometimes when I copy the flow to a new diagram and it could successfuly run, and sometimes just don't...
this error kinda drew me crazy cuz I'm trying to connect massive number of models into one model comparison node so I can just simply choose the best model from it. It won't be effective at all if I try to connect one model and run it at each time.
Does anyone could help me on how to debug this problem?? I created a total new project and drag nodes from the beginning and the same thing happens too 😞
I don't really know how to read the Log, but there's no actual error sign in the log (or at least I didn't find it)
That looks like the diagram log, you might find a more informative error message if you right-click on the Model Comparison node and select Results, then view the log in there (View>SAS Results>Log). If that's still not helpful, please contact SAS Technical Support: https://support.sas.com/techsup/contact/ and they should be able to figure out what is going on.
Here is one of the run time error log from a model comparison node
21058 %let SYSCC=0;
21059 %let SYsrc=0;
21060 %let EMEXCEPTIONSTRING=;
21061 %let SYSMSG=;
21062 %em_diagram(action=connectnode, projpath=%nrstr(C:\EMMerge), projname=%nrstr(Merge525), dgmId=EMWS1, from=HPDMForest2, to=MdlComp);
NOTE: Fileref _DGMFRF has been deassigned.
WIP_ACTION: OPENSESSION
DGMID: EMWS1
LOCKFILE: C:\EMMerge\Merge525\Workspaces\EMWS1\System\wsopen.lck
21074 %let _HPDMGRIDHOST=;
21075 %let _HPDMGRIDINSTALLLOC=;
21076 %let _HPDMGRIDDATASERVER=;
21077 %hpdm_gridSetOPtions;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
21078 data EMWS1.EM_DGRAPH;
21079 set EMWS1.EM_DGRAPH;
21080 where ^(FROM = "HPDMForest2" and TO = "");
21081 run;
NOTE: There were 9 observations read from the data set EMWS1.EM_DGRAPH.
WHERE (FROM not = 'HPDMForest2') or (TO not = ' ');
NOTE: The data set EMWS1.EM_DGRAPH has 9 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
52 The SAS System 14:13 Thursday, May 25, 201
7
21082 %let SYSCC=0;
21083 %let SYsrc=0;
21084 %let EMEXCEPTIONSTRING=;
21085 %let SYSMSG=;
21086 %em_diagram(action=connectnode, projpath=%nrstr(C:\EMMerge), projname=%nrstr(Merge525), dgmId=EMWS1, from=HPDMForest3, to=MdlComp);
NOTE: Fileref _DGMFRF has been deassigned.
WIP_ACTION: CONNECTNODE
DGMID: EMWS1
LOCKFILE: C:\EMMerge\Merge525\Workspaces\EMWS1\System\wsopen.lck
21098 %let _HPDMGRIDHOST=;
21099 %let _HPDMGRIDINSTALLLOC=;
21100 %let _HPDMGRIDDATASERVER=;
21101 %hpdm_gridSetOPtions;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
21102 data EMWS1.EM_DGRAPH;
21103 set EMWS1.EM_DGRAPH;
21104 where ^(FROM = "HPDMForest3" and TO = "");
21105 run;
NOTE: There were 9 observations read from the data set EMWS1.EM_DGRAPH.
WHERE (FROM not = 'HPDMForest3') or (TO not = ' ');
NOTE: The data set EMWS1.EM_DGRAPH has 9 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
53 The SAS System 14:13 Thursday, May 25, 201
7
21106 %let SYSCC=0;
21107 %let SYsrc=0;
21108 %let EMEXCEPTIONSTRING=;
21109 %let SYSMSG=;
21110 %em_diagram(action=closesession, projpath=%nrstr(C:\EMMerge), projname=%nrstr(Merge525), dgmId=EMWS1);
NOTE: Fileref _DGMFRF has been deassigned.
WIP_ACTION: CONNECTNODE
DGMID: EMWS1
LOCKFILE: C:\EMMerge\Merge525\Workspaces\EMWS1\System\wsopen.lck
NOTE: Libref EMWS1 has been deassigned.
54 The SAS System 14:13 Thursday, May 25, 201
7
21122 %let SYSCC=0;
21123 %let SYsrc=0;
21124 %let EMEXCEPTIONSTRING=;
21125 %let SYSMSG=;
21126 %em_diagram(action=opensession, projpath=%nrstr(C:\EMMerge), projname=%nrstr(Merge525), dgmId=EMWS1, sessionid=reisa1495746179970, outfile=DiagramOpenSessionResponse.xml);
NOTE: Fileref _DGMFRF has been deassigned.
WIP_ACTION: CLOSESESSION
DGMID: EMWS1
LOCKFILE: C:\EMMerge\Merge525\Workspaces\EMWS1\System\wsopen.lck
NOTE: Libref EMWS1 was successfully assigned as follows:
Engine: V9
Physical Name: C:\EMMerge\Merge525\Workspaces\EMWS1
NOTE: There were 10 observations read from the data set EMWS1.EM_DGRAPH.
NOTE: The data set WORK.EM_DGRAPH has 10 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
21138 %let _EM_TREECONVERSION=0;
21139 data _null_;
21140 set EMWS1.EM_NODEID end=eof;
21141 where upcase(Component) ='DECISIONTREE' and CLASS = 'SASHELP.EMMODL.DECISIONTREE.CLASS';
21142 if eof then call symput('_EM_TREECONVERSION', '1');
21143 run;
NOTE: There were 0 observations read from the data set EMWS1.EM_NODEID.
WHERE (UPCASE(Component)='DECISIONTREE') and (CLASS='SASHELP.EMMODL.DECISIONTREE.CLASS');
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
treeconversion=0
21144 %let syscc=0;
21145 filename _wipchk catalog "EMWS1.HPDMForest.test.source";
21146 data _null_;
21147 file _wipchk;
21148 put '/* Test */';
21149 run;
NOTE: The file _WIPCHK is:
Catalog Name=EMWS1.HPDMFOREST.TEST.SOURCE,
Catalog Page Size=4096,
Number of Catalog Pages=15,
Created=Thu, May 25, 2017 02:16:17 PM,
Last Modified=Thu, May 25, 2017 02:57:59 PM,
Filename=C:\EMMerge\Merge525\Workspaces\EMWS1\hpdmforest.sas7bcat,
Release Created=9.0401M3,
Host Created=X64_8HOME
NOTE: 1 record was written to the file _WIPCHK.
The minimum record length was 10.
The maximum record length was 10.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
21150 data _null_;
21151 rc = fdelete('_wipchk');
21152 run;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
21153 filename _wipchk;
NOTE: Fileref _WIPCHK has been deassigned.
21154 filename _wipxml 'C:\Users\reisa\AppData\Local\Temp\SAS Temporary Files\_TD12748_DESKTOP-13NUI9D_\Prc2\DiagramOpenSessionResponse.xml' encoding="UTF-8" NOBOM;
55 The SAS System 14:13 Thursday, May 25, 201
7
WARNING: End of file.
WARNING: End of file.
That looks like the diagram log, you might find a more informative error message if you right-click on the Model Comparison node and select Results, then view the log in there (View>SAS Results>Log). If that's still not helpful, please contact SAS Technical Support: https://support.sas.com/techsup/contact/ and they should be able to figure out what is going on.
Hi,
I looked on the log inside the Results, all of my run time errors usually says "The system error returned was 3000" and I don't how to fix that. I did contact the Technical Support and hopefully I can get the answer back soon. These errors just happened so randomly even happened once when I just tried to run the model comparison with a default HP Forest node. I'm wondering if that is just something related to the Forest, since last night it was fine when I only run some Neural Network and regression nodes
NOTE: DATA STEP view saved on file EMWS4.MDLCOMP2_TRAIN.
NOTE: A stored DATA STEP view cannot run under a different operating system.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
MPRINT(EM_DIAGRAM): quit;
21988 quit;
*------------------------------------------------------------*
*
* ERROR: Run time error was encountered. The system error returned was 3000.
* Please report unresolved problems to Technical Support.
*
*------------------------------------------------------------*
MPRINT(EM_DIAGRAM): proc printto;
MPRINT(EM_DIAGRAM): run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.