GPCLASS Procedure

SAVESTATE Statement

  • SAVESTATE RSTORE=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 analytic store inherits the same parameters that the SAVESTATE statement uses.

You must specify the following option:

RSTORE=libref.data-table

specifies a data table in which to save the analytic store for the model. libref.data-table is a two-level name, where libref refers to the library, 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 04, 2026