Problem Note 70964: SAS® Life Science Analytics Framework Macro API 2.6.x - Applying a SIZEKMG format without decimal precision produces storage sizes not in line with UI
The Macro API 2.6.x, which is used in conjunction with SAS® Life Science Analytics Framework 5.4 and SAS® Life Science Analytics Framework 5.4.1, contains macros that retrieve storage utilization metrics.
The API macros return size values from the resource utilization data sets as a formatted numeric using the SIZEKMG12 SAS system format. The specified format produces size totals in either kilobytes (KB), megabytes (MB), or gigabytes (GB) depending on the size of the value returned.
Due to the lack of a specified decimal precision for the associated format, rounding occurs for the reported size values. For larger size values, specifically when sizes are reported in gigabytes, the rounding can produce reported results that are not in line with size totals reported within the SAS Life Science Analytics Framework application user interface (UI).
To more precisely represent the actual storage usage totals, beginning with Macro API 2.7 (available for use with SAS® Life Science Analytics Framework Java API 2.7), the SIZEKMG12.2 SAS system format is applied to the unformatted values now returned by the resource utilization data sets.
Operating System and Release Information
SAS System | SAS Life Science Analytics Framework | Linux for x64 | 5.4.1 | 5.4.2 | 9.4 TS1M7 | 9.4 TS1M8 |
*
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: | medium |
Date Modified: | 2024-09-23 12:01:12 |
Date Created: | 2024-09-17 15:07:24 |