The KCLUS Procedure

SAVESTATE Statement

  • SAVESTATE RSTORE=CAS-libref.data-table;

The SAVESTATE statement creates an analytic store for the model and saves it as a binary object in a data table. You can then use the analytic store in the ASTORE procedure to score new data. The ASTORE inherits the same parameters that the action uses.

RSTORE=CAS-libref.data-table

specifies a data table in which to save the analytic store for the model. CAS-libref.data-table is a two-level name, where CAS-libref refers to the caslib and session identifier, and data-table specifies the name of the output data table. For more information about this two-level name, see the DATA= option and the section Using CAS Sessions and CAS Engine Librefs.

Last updated: September 13, 2022