When you publish decisions
as Decision Logic objects, they are available for use by other applications
such as SAS Data Integration Studio. Because decisions incorporate
both rule flows and models, the process of adding rule flows and models
to SAS Data Integration Studio jobs is simplified. You can add decisions
to the job instead of individual models and rule flows.
To create and run a
job in SAS Data Integration Studio:
Create a new job.
-
Right-click on the folder
where you want to create the new job, and select
NewJob.
The
New Job window appears.
This tutorial creates
the new job in My Folder.
-
Enter ScoreLoanDecision
for
the job name, and click OK.
-
If you are prompted
to select a default application server, select SASApp,
and click OK.
Add the data source for the decision.
-
On the
Folders tab,
expand
Shared DataModel
ManagerQSTutorial.
-
Drag the HMEQ_SCORE_PROB_OUTPUT data
source to the Job Editor window.
Add the decision to the job.
-
On the Folders tab,
navigate to the location where you published the Loan_Decision decision.
-
Drag the Loan_Decision decision
to the Job Editor window.
-
Drag the cursor from
the input table to the decision.
Add a table loader for the decision results table.
-
On the Transformations tab,
expand Access.
-
Drag the Table
Loader to the Job Editor window.
Create a decision results table.
-
On the
Folders tab,
right-click on
My Folder, and select
NewTable.
The
New Table wizard opens.
-
Enter DecisionResults
for
the table name, and click Next. The Table
Storage window appears.
-
Select QSTutorial for
the Library, and click Next.
(Use the default values for the remaining fields.) The Select
Columns window appears.
-
Select the Inventory tab.
-
Expand
Library,
expand
QSTutorial, select
HMEQ_SCORE_PROB_OUTPUT,
and click
.
-
Click Next.
The Change Columns/Indexes window appears.
-
Click Next,
and then click Finish.
-
Drag the DecisionResults table
to the Job Editor window.
Connect the output table and run the decision.
-
Drag the cursor from
the EDM Results output port of the decision to the table loader.
-
Drag the cursor from
the table loader to the DecisionResults output
table.
-
Click Run to
run the job.