SAS Model Manager uses
the SAS Publishing Framework to publish models to defined channels.
The SAS Publishing Framework notifies subscribers of the publication
channel when the models are delivered. You can publish models from
the organizational, project, version, or
Models folder
in the Project Tree.
SAS Model Manager creates
a SAS package (SPK) file for the model in a publication channel. A
user who subscribes to the publication channel can choose to receive
e-mail that includes the SAS package as an attachment.
Note: Before you can deploy a model
to a publications channel, a SAS administrator must configure the
publication channel in SAS Management Console to publish models as
archive (binary .SPK) files to a persistent store location. The archive
persistent store location is specified as a physical file location,
an FTP server, an HTTP server, or a path in WebDAV.
The REPORT attribute
for a file element in a model template indicates whether SAS Model
Manager includes a file in the SAS package. You use the SAS Package
Reader or a file archiver and compression utility, such as WinZip,
to view the contents of the SPK file. SAS Model Manager provides SAS
macro programs to extract published models and deploy the models on
testing and production scoring servers.
By default, the SAS
package with the published model includes the following files:
|
|
|
input variables for
the model
|
|
output variables for
the model
|
|
target variable for
the model
|
|
SAS code to generate
the model
|
|
SAS code to map model
variables to project variables
|
|
URL address of inputvar.xml
|
|
URL address of outputvar.xml
|
|
|
The SAS package might
contain additional files, depending on the number of file elements
in the model template that have a REPORT attribute.
Note: The REF file contains the
URL for a folder location in the Project Tree, such as
http://MMServer:8080/SASContentServer/repository/default/ModelManager/MMRoot/organizational
folder/project/version/Models/model_name/code.sas.
These are the tasks
that you perform to use a published model: