Usage Note 55425: In a DBCS environment, the Open Source Integration node should not be used with output mode = PMML
The Open Source Integration node in SAS®Enterprise Miner™ does not support DBCS in PMML output mode.
If you are in a DBCS environment, then follow these steps to save a utf-8 version of the PMML from the Open Source Integration node. Run the utf-8 version of the PMML using PROC PSCORE:
Append this piece of code to the bottom of the R code in Open Source Integration node code editor:
library(pmml)
library(XML)
userEMRPMML <- '<XML file>'
xml_file <- file(userEMRPMML, encoding='UTF-8')
write(toString(pmml(&EMR_MODEL)), file=userEMRPMML)
- Run the Open Source Integration node with Output Mode = None. The node should run successfully.
Run PROC PSCORE outside the node with the userEMRPMML.xml file. Example:
proc pscore pmml file="<XML file>";
ds file="<text file>";
run;
filename _dsfile "<text file>";
data &em_export_train;
set &em_import_data;
%inc _dsfile;
run;
filename _dsfile;
If you use the PMML output mode in a DBCS environment, you might not get an error even though the model is wrong. In addition, you might get an error such as the following:
16739 +put "drop Probability_C"C'C;"
-------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
Note: If a Java error occurs when launching SAS Enterprise Miner, then see SAS Note 56244: "Logging on to a SAS® Enterprise Miner™ server results in the error "java.util.ServiceConfigurationError""
Here are some additional SAS notes related to the Open Source Integration node:
SAS Note 54837: "Additional installation steps might be required to run the SAS® Enterprise Miner™ Open Source Integration node on LINUX operating systems"
SAS Note 54806: "Using R in the Open Source Integration Node in SAS
® Enterprise Miner™"
SAS Note 53794: "The Open Source Integration node gives "ERROR: Given PMML File is not well formed or correct ...""
Operating System and Release Information
SAS System | SAS Enterprise Miner | Microsoft® Windows® for x64 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8 Enterprise 32-bit | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8 Enterprise x64 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8 Pro 32-bit | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8 Pro x64 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8.1 Enterprise 32-bit | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8.1 Enterprise x64 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8.1 Pro | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows 8.1 Pro 32-bit | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2008 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2008 R2 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2008 for x64 | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2012 Datacenter | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2012 R2 Datacenter | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2012 R2 Std | 13.2 | | 9.4 TS1M2 | |
Microsoft Windows Server 2012 Std | 13.2 | | 9.4 TS1M2 | |
Windows 7 Enterprise 32 bit | 13.2 | | 9.4 TS1M2 | |
Windows 7 Enterprise x64 | 13.2 | | 9.4 TS1M2 | |
Windows 7 Home Premium 32 bit | 13.2 | | 9.4 TS1M2 | |
Windows 7 Home Premium x64 | 13.2 | | 9.4 TS1M2 | |
Windows 7 Professional 32 bit | 13.2 | | 9.4 TS1M2 | |
Windows 7 Professional x64 | 13.2 | | 9.4 TS1M2 | |
Windows 7 Ultimate 32 bit | 13.2 | | 9.4 TS1M2 | |
Windows 7 Ultimate x64 | 13.2 | | 9.4 TS1M2 | |
64-bit Enabled AIX | 13.2 | | 9.4 TS1M2 | |
64-bit Enabled Solaris | 13.2 | | 9.4 TS1M2 | |
HP-UX IPF | 13.2 | | 9.4 TS1M2 | |
Linux for x64 | 13.2 | | 9.4 TS1M2 | |
Solaris for x64 | 13.2 | | 9.4 TS1M2 | |
*
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.
When using the Open Source Integration node with output mode = PMML in a DBCS environment, you might not get an error. However, the model might be wrong.
Type: | Usage Note |
Priority: | medium |
Date Modified: | 2017-01-26 13:02:44 |
Date Created: | 2015-03-23 14:16:48 |