Problem Note 49206: The Score node gives an "Open code statement recursion detected" error, and no output data set is produced
In SAS® Text Miner, a Score node that follows a Text Filter node might complete processing but fail to produce an output data set with scores. A successful Score node should produce an output data set. If no output data set is produced, then the following error might be displayed in the log when you try to open the results:
ERROR: Open code statement recursion detected.
The problem occurs when a non-printable character exists in a noun phrase in the training data set. The terms table is stored in SAS code, and the table is dynamically generated at score time. The non-printable character prevents successful generation of the exported scored-output data set. Example: a non-printable character (such as an end of line or end of paragraph marker) could be hidden, or the character might not be recognized by the encoding that is used.
To work around the problem, identify the document that contains the noun phrase that is causing the issue. After identifying, take either of these actions:
- remove the non-printable character
- remove the document
After either action, rerun the flow.
Operating System and Release Information
SAS System | SAS Text Miner | Microsoft® Windows® for x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 5.1 | | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled AIX | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled Solaris | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
HP-UX IPF | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Linux for x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Solaris for x64 | 5.1 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
*
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.
Terms containing non-printable characters cause Score node to return "ERROR: Open code statement recursion detected."
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Data Mining Analytics ==> Text Mining
|
Date Modified: | 2018-06-20 10:44:55 |
Date Created: | 2013-02-19 09:39:58 |