A project with a SAS Micro Analytic Service DS2 module is imported from a SAS Model Manager ZIP file into SAS Event Stream Processing Studio. The Micro Analytic Service module method contains a signature that defines the variables used by the method. Here is an example signature for a method called score:
method score(double "DEBTINC", in_out char(32) "EM_CLASSIFICATION", in_out double "EM_EVENTPROBABILITY", in_out double "EM_PROBABILITY", in_out double "EM_SEGMENT", in_out char(12) "I_BAD", in_out double "P_BAD0", in_out double "P_BAD1", in_out double "Q_BAD0", in_out double "Q_BAD1", in_out double "U_BAD", in_out double "V_BAD0", in_out double "V_BAD1", in_out double "_NODE_", in_out char(4) "_WARN_", in_out char(549) "_ModelName_");
When the project containing this Micro Analytic Service module is tested, the test results do not show any data for the variables:
The problem occurs because the variable names for the method should not be enclosed in double quotation marks.
To circumvent the problem, remove the double quotation marks from the method definition.
Here is the example signature for the score method with the double quotation marks removed:
method score(double DEBTINC, in_out char(32) EM_CLASSIFICATION, in_out double EM_EVENTPROBABILITY, in_out double EM_PROBABILITY, in_out double EM_SEGMENT, in_out char(12) I_BAD, in_out double P_BAD0, in_out double P_BAD1, in_out double Q_BAD0, in_out double Q_BAD1, in_out double U_BAD, in_out double V_BAD0, in_out double V_BAD1, in_out double _NODE_, in_out char(4) _WARN_, in_out char(549) _ModelName_);
Testing the project with the updated Micro Analytic Service module signature returns the expected data, as shown below:
Operating System and Release Information
SAS System | SAS Event Stream Processing Engine | Microsoft® Windows® for x64 | 4.3 | | | |
Linux for x64 | 4.3 | | | |
*
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.