Problem Note 52881: The columnDataGet method in the DS2 tap_table package for SAS® Real-Time Decision Manager might return a null array
SAS Real-Time Decision Manager includes several DS2 utility packages that facilitate conversion between Java objects, such as tables and arrays, and DS2 objects. One of the DS2 objects that are defined in these utility packages is the tap_table, which holds table data. The columnDataGet method of the tap_table object returns an array containing all of the data that is contained in a specified column of the tap_table. However, the columnDataGet method incorrectly returns a null array in SAS Real-Time Decision Manager 6.1 (SAS® Decision Services 5.6).
This problem occurs because columnDataGet returns an array that is instantiated in a way that gives it only method scope:
array = _new_ tap_array();
Because the value of the tap_array must be returned from the method, the tap_array must be declared in way that gives it package scope:
array = _new_ [this] tap_array();
Operating System and Release Information
SAS System | SAS Decision Services | Microsoft® Windows® for x64 | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled AIX | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 5.6 | 6.2 | 9.3 TS1M0 | 9.4 TS1M0 |
SAS System | SAS Real-Time Decision Manager | Microsoft® Windows® for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2008 R2 | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows Server 2008 for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
Microsoft Windows XP Professional | 6.1 | 6.3 | | 9.2 TS2M0 |
Windows Vista | 6.1 | 6.3 | | 9.2 TS2M0 |
Windows Vista for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
64-bit Enabled AIX | 6.1 | 6.3 | | 9.2 TS2M0 |
64-bit Enabled Solaris | 6.1 | 6.3 | | 9.2 TS2M0 |
HP-UX IPF | 6.1 | 6.3 | | 9.2 TS2M0 |
Linux for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
Solaris for x64 | 6.1 | 6.3 | | 9.2 TS2M0 |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-06-09 12:08:05 |
Date Created: | 2014-05-02 02:37:14 |