Import Package Files from SAS Enterprise Miner

What Is a SAS Enterprise Miner Package File?

SAS Enterprise Miner package files are SPK files that contain complete model information. A user can import SAS Enterprise Miner models even if they are not registered in a SAS Metadata Repository.

Create Package Files

To create an SPK file for an existing SAS Enterprise Miner model, follow these steps:
  1. Open the SAS Enterprise Miner diagram that contains the model, and then run the model.
  2. After the model run is complete, you can right-click the model in the SAS Enterprise Miner Diagram Workspace, and select Create Model Package. The new SPK filename appears under the Model Packages folder in your SAS Enterprise Miner Project Navigator.
  3. Right-click the filename and select Save As to copy the SPK file from the SAS Enterprise Miner server to your computer.
  4. Specify a destination folder on your computer, such as, C:\MMData, and save the file to your workstation folder.

Import Package Files

Note: Before you import a model into your project's version, verify that the model type matches the Model Function property setting on the Project Properties panel. For more information about model functions, see Specific Properties for a Project.
To import package files into SAS Model Manager, follow these steps.
  1. In the Project Tree, navigate to the project's version.
    MMRootthen selectorganizational folderthen selectproject folderthen selectversion folder
  2. Right-click the Models folder and select Import fromthen selectSAS Enterprise Miner Package File.
    SAS Enterprise Miner Package File Window
  3. Navigate to the location of the SAS Enterprise Miner package (SPK) file and select the file.
  4. To change the name of the model, enter a text value in the Model name field. The value of the Model name field appears as the model name in the Project Tree.
  5. Click OK. After the SAS Model Manager processes the model import request, the new model appears in the Models folder of your project's version.
  6. Repeat steps 2 through 5 to import additional model package files from your client workstation folder.