Problem Note 60175: The Score Code Export Node returns "ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4"
In SAS® Enterprise Miner, the Score Code Export Node might return the following error message:
ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4
ERROR: ScoreXML: Terminating because of previous errors. SYSCC= 4
These errors occur when the SAS Score Code variable levels include an ampersand enclosed in quotation marks, “&”. For example, the log might include lines like the following:
121 + WHEN ( "A" ) _I11_1 = 1;
MPRINT(SCOREXML): WHEN ( "A" ) _I11_1 = 1;
122 + WHEN ( "B" ) _I11_2 = 1;
MPRINT(SCOREXML): WHEN ( "B" ) _I11_2 = 1;
123 + WHEN ( "C&D &E" ) _I11_3 = 1;
WARNING: Apparent symbolic reference D not resolved.
WARNING: Apparent symbolic reference E not resolved.
MPRINT(SCOREXML): WHEN ( "C&D &E" ) _I11_3 = 1;
124 + WHEN ( "F" ) _I11_4 = 1;
MPRINT(SCOREXML): WHEN ( "F" ) _I11_4 = 1;
125 + WHEN ( "G" ) _I11_5 = 1;
MPRINT(SCOREXML): WHEN ( "G" ) _I11_5 = 1;
126 + WHEN ( "H" ) _I11_6 = 1;
MPRINT(SCOREXML): WHEN ( "H" ) _I11_6 = 1;
127 + OTHERWISE DO;
MPRINT(SCOREXML): OTHERWISE DO;
If the log includes such lines, then the following errors occur at the bottom of the log:
ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4
ERROR: ScoreXML: Terminating because of previous errors. SYSCC= 4
The workaround is to remove the ampersand from the original data and replace it with another character (for example, a plus sign (+)). Ampersands are typically used in SAS® Macro coding and using them as character values in a SAS data set might return unexpected results.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Enterprise Miner | Microsoft® Windows® for x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 10 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Professional x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled AIX | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled Solaris | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
HP-UX IPF | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Linux for x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Solaris for x64 | 14.1 | 14.3 | 9.4 TS1M3 | 9.4 TS1M5 |
*
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.
Score Code Export node returns ERROR: ScoreXML: Unable to determine Code variable dependencies. SYSERR= 4
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Data Mining Analytics ==> Scoring Analytics ==> Transformations
|
Date Modified: | 2017-03-24 14:53:51 |
Date Created: | 2017-03-23 13:59:43 |