Problem Note 63256: "FATAL...This is illegal" occurs when a SAS® Event Stream Processing calculate window uses the MAS algorithm
A SAS Event Stream Processing model uses a calculate window to execute a DS2 program using the MAS algorithm. When the calculate window receives an event with an Update or Upsert opcode, the event incorrectly fails with the following messages:
2018-11-21T13:56:28,569; FATAL; 00000034; DF.ESP; (dfESPwindow_sa.cpp:804); [Procedural0003] dfESPwindow_procedural::computeUps() for window Calculate2: This is illegal
2018-11-21T13:57:05,227; FATAL; 00000034; DF.ESP; (dfESPwindow_sa.cpp:795); [Procedural0002] dfESPwindow_procedural::computeUpd() for window Calculate2: This is illegal
The calculate window should be able to accept any input opcode for the DS2 program to process.
This scenario is most likely to happen when another calculate window executing a DS2 program is creating the events by setting the Update or Upsert opcode.
As a workaround, modify the calculate windows to create a string field that contains the opcode that the DS2 program is setting instead of the _outOpcode variable. Use an opcode of insert for _outOpcode. When you make this change, the DS2 program can use the opcode in the schema instead of the input opcode and react accordingly.
Operating System and Release Information
| SAS System | SAS Event Stream Processing Engine | Microsoft® Windows® for x64 | 5.2 | 6.1 | | |
| Linux for x64 | 5.2 | 6.1 | | |
| SAS System | SAS Event Stream Processing for Edge Computing | Linux for AArch64 | 5.2 | 6.1 | Viya | Viya |
| Linux for x64 | 5.2 | 6.1 | Viya | Viya |
*
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.
A SAS® Event Stream Processing calculate window using the MAS algorithm fails with "FATAL...This is illegal." This problem occurs when the calculate window receives an event with an Update or Upsert opcode.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2018-12-04 07:33:52 |
| Date Created: | 2018-11-21 13:55:48 |