SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69606: The ASTORE procedure might report an error "Failed to load engine..." when scoring a table

DetailsHotfixAboutRate It

PROC ASTORE might report the following error:

122  proc astore;
123      score data=casuser.hmeq2 rstore=casuser.ast2 out=casuser.outscore2;
ERROR: Failed to load engine.
ERROR: Failed to initialize scoring(code = 6).
ERROR: Failed to load engine.
ERROR: Action score failed.
ERROR: The action stopped due to errors.
124      describe rstore=casuser.ast2;
125  run;
NOTE: The PROCEDURE ASTORE printed page 34.
NOTE: PROCEDURE ASTORE used (Total process time):
      real time           0.35 seconds
      cpu time            0.12 seconds

This issue occurs when a variable name in the score table does not match the capitalization of the corresponding input in the Analytical Store. For example, you encounter this issue if the score table contains Cylinders while cylinders is the input in the Analytical Store.

To work around the issue, complete these steps:

  1. Run PROC ASTORE with a DESCRIBE statement to obtain the model's input variables.
  2. Run PROC CONTENTS to check the variable names in the score table.
  3. Compare the names of the variables in step 1 and step 2 to find the names with mismatched capitalization. 
  4. If there is a mismatch, modify the variable name in the score table. For example, you can use the code below to rename a variable:

cas;
caslib _all_ assign;
libname mycas cas caslib=casuser;

data mycas.cars; 
    set sashelp.cars;
run;

proc contents data=mycas.cars; title 'Before renaming columns'; run;
 
proc casutil;          
   altertable casdata="cars" incaslib="casuser"
      columns =
        {
          {name= "Cylinders" rename="cylinder"}
          {name="MPG_City" rename="mpg_city"}
        };

quit;

proc contents data=mycas.cars; title 'after renaming columns'; run;

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaMicrosoft® Windows® for x643.52021.1.6ViyaViya
Microsoft Windows 8 Enterprise 32-bit3.5Viya
Microsoft Windows 8 Enterprise x643.52021.1.6ViyaViya
Microsoft Windows 8 Pro 32-bit3.5Viya
Microsoft Windows 8 Pro x643.52021.1.6ViyaViya
Microsoft Windows 8.1 Enterprise 32-bit3.5Viya
Microsoft Windows 8.1 Enterprise x643.52021.1.6ViyaViya
Microsoft Windows 8.1 Pro 32-bit3.5Viya
Microsoft Windows 8.1 Pro x643.52021.1.6ViyaViya
Microsoft Windows 103.52021.1.6ViyaViya
Microsoft Windows 113.5Viya
Microsoft Windows 95/983.5Viya
Microsoft Windows 2000 Advanced Server3.5Viya
Microsoft Windows 2000 Datacenter Server3.5Viya
Microsoft Windows 2000 Server3.5Viya
Microsoft Windows 2000 Professional3.5Viya
Microsoft Windows NT Workstation3.5Viya
Microsoft Windows Server 2003 Datacenter Edition3.5Viya
Microsoft Windows Server 2003 Enterprise Edition3.5Viya
Microsoft Windows Server 2003 Standard Edition3.5Viya
Microsoft Windows Server 2003 for x643.52021.1.6ViyaViya
Microsoft Windows Server 20083.5Viya
Microsoft Windows Server 2008 R23.52021.1.6ViyaViya
Microsoft Windows Server 2008 for x643.52021.1.6ViyaViya
Microsoft Windows Server 2012 Datacenter3.52021.1.6ViyaViya
Microsoft Windows Server 2012 R2 Datacenter3.52021.1.6ViyaViya
Microsoft Windows Server 2012 R2 Std3.52021.1.6ViyaViya
Microsoft Windows Server 2012 Std3.52021.1.6ViyaViya
Microsoft Windows Server 20163.52021.1.6ViyaViya
Microsoft Windows Server 20193.52021.1.6ViyaViya
Microsoft Windows Server 20223.5Viya
Microsoft Windows XP Professional3.5Viya
Windows 7 Enterprise 32 bit3.5Viya
Windows 7 Enterprise x643.52021.1.6ViyaViya
Windows 7 Home Premium 32 bit3.5Viya
Windows 7 Home Premium x643.52021.1.6ViyaViya
Windows 7 Professional 32 bit3.5Viya
Windows 7 Professional x643.52021.1.6ViyaViya
Windows 7 Ultimate 32 bit3.5Viya
Windows 7 Ultimate x643.52021.1.6ViyaViya
Windows Millennium Edition (Me)3.5Viya
Windows Vista3.5Viya
Windows Vista for x643.52021.1.6ViyaViya
Linux for x643.52021.1.6ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.