What’s New in SAS Micro Analytic Service 2.2

Overview

SAS Micro Analytic Service 2.2 has the following enhancements:
  • Ability to reference modules by name
  • Ability to run Python modules in SAS Micro Analytic Service from PROC DS2
  • Payload logging
  • Simplified pymas DS2 package interface

Reference Modules by Name

Earlier releases of SAS Micro Analytic Services return a globally unique module identifier when a module is published. If the same module were published on two different SAS Micro Analytic Service systems, two different identifiers would be generated. Rather than returning a globally unique identifier, SAS Micro Analytic Service 2.2 returns the module name as the module identifier when a module is published. This allows a module to be referenced by the same name across all systems the module has been published to.

Run Python modules in SAS Micro Analytic Service from PROC DS2

DS2 code that is run using PROC DS2 can use the pymas DS2 package, as long as the SAS environment that is executing PROC DS2 has been configured to include Python and SAS Micro Analytic Service.
The pymas DS2 package enables DS2 methods to publish Python modules and to execute Python functions within those modules.

Payload Logging

Payload logging enables you to capture JSON payload, for both input and output, and log it to a file, so that it can be harvested and analyzed.

Simplified Pymas DS2 Package Interface

The pymas DS2 package enables DS2 methods to publish Python modules and to execute Python functions within those modules. Pymas is easier to use than in previous releases because it references Python modules by name rather than by a globally unique identifier and revision number.
When pymas is used in PROC DS2, the new method appendSrcLine can be used to add lines of Python source code, making it easier to publish Python modules. The new method getSource can be used to return the lines of Python source code as a single string.