Using the Score Code Export Node in a Process Flow Diagram

The Score Code Export node icon is located on the Utility tab, as shown in Figure 3.1:
The Diagram Toolbar with the SAS Score Code Export Node Icon Highlighted
SAS Score Code Export Node on Toolbar
To use the Score Code Export node, you need a process flow diagram that contains nodes that produce score code and that flow to a Score node. The Score node aggregates the score code for the entire process flow diagram and transfers it to the Score Code Export node. The Score node must precede the Score Code Export node in the process flow diagram.
This is a valid data mining process for exporting score code:
Data Mining Process Flow Diagram
Data Mining Process Flow Diagram
Requirement: The Score Code Export node exports score code that contains only one DATA step. To see the SAS Enterprise Miner nodes that produce score code, see the SAS Enterprise Miner Reference Help and SAS Enterprise Miner High-Performance Data Mining Node Reference for SAS.
After the process flow diagram is in place, set the properties for the Score node and the Score Code Export node:
  1. Select the Score node. Ensure that each of the following properties is set to the default value of Yes:
    • Use Output Fixed Names
    • C Score
  2. Select the Score Code Export node and set the properties. The Output Directory property specifies the directory to store the export files. The Name property specifies the folder that contains the output files created by the Score Code Export node. For information about the properties, see the SAS Enterprise Miner Reference Help and SAS Enterprise Miner High-Performance Data Mining Node Reference for SAS.
After the properties are set, you are ready to export the score code. Right-click the Score Code Export node and select Run. When SAS Enterprise Miner completes processing, the Run Status window appears and indicates that the run completed. Click the Results button to view the output variables and the listing output. For information about the output, see Output Created by the Score Code Export Node.