Import Rule Associations (via Automation)

You can import a rule association table into a model using SAS Profitability Management automation. You can either

Import a rule association table into an existing model

To import a rule association table into an existing model, you proceed as though you were importing a model with the difference that:

The following is a sample model import file that can be used to import a rule association table:

<?xml version="1.0" encoding="utf-8"?>
<Model Name="BabyBank" Action="AddOnly">
   <BehaviorAssignmentTables>
       <Table Libref="BBankIn" Name="Association">
          <ColumnMapping Required="behaviorReference" Actual="behaviorId"/>
          <ColumnMapping Required="tableGroup" Actual="tableGroup"/>
          <ColumnMapping Required="rule" Actual="rule"/>
       </Table>
   </BehaviorAssignmentTables>
</Model>

Notes:

Import a model along with its rule association table

When you import a model, you can specify one or more rule association tables to be imported along with the model. You can import a rule association table instead of, or in addition to, specifying the individual associations in the model import file. The following shows an example of a model import file that references a rule association table to be imported with the model:

By contrast, the following shows a model import file in which the rule associations are explictly defined inline in the file:

Note: you can both import a rule association table and define associations inline, as the following XML file fragment illustrates:

To import a rule association table, in addition to creating the XML configuration file, you must also

 

See also: