Imports rule sets from the specified CSV file into the SAS Decision Manager database.
Requirements: | The vocabulary used by the rule set must exist. |
This macro must be run on the server tier. | |
CAUTION: |
If the
server is running in lockdown mode, you should not edit input files
that are generated by the %BRM_EXPORT_RULESET macro before you import
the data.
If the input file contains
errors, the database might become corrupted. See Locked-Down Servers in SAS Intelligence Platform: Security Administration Guide and LOCKDOWN Statement in SAS Intelligence Platform: Application Server Administration Guide for more information.
|
specifies the full pathname to the CSV file where you want to import the data from. For more information, see Format of Rule Set CSV Input File.
specifies the full pathname to the CSV file where you want the macro to write any records that were not imported to the SAS Decision Manager database. See Using the %BRM_IMPORT_RULESET Macro for more information.
specifies the user ID that you want to be associated with the data that is imported. This user ID is associated with the imported objects in the SAS Decision Manager database and is displayed in the interface.
Default | User ID of the user that is logged on to the server and running the macro |
specifies whether to lock the imported rule set.
Default | N |
specifies whether existing
rule sets can be updated. If you specify N
,
the updates are rejected.
Default | N |
CondTerm
and
assigns to it the expression <5000
. The
second line adds the action term ActionTerm
and
assigns to it the expression 'Bad'
. .,riskSet,,Loan_Vocab,Loans/Retail,RuleName1,,1,if,Y,CondTerm,<5000,1,CONDITION .,riskSet,,Loan_Vocab,Loans/Retail,RuleName1,,1,if,Y,ActionTerm,'Bad',1,ACTION
Column
|
Description
|
Can Column Be Blank
|
---|---|---|
RULE_SET_SK
|
The identification number
of the rule set.
|
Yes
|
RULE_SET_NM
|
The name of the rule
set where you want to add the rule that is specified in RULE_NM.
|
No
|
RULE_SET_DESC
|
The description of the
rule set.
|
Yes
|
VOCAB_NM
|
The name of the vocabulary
that the rule set uses. All rules in the same rule set must use the
same vocabulary.
|
No
|
RULE_SET_PATH
|
The pathname to the
business rules folder for the rule set. This pathname must exist.
Separate folder names with forward slashes.
|
No
|
RULE_NM
|
The name of the rule
to be added to the rule set.
|
No
|
RULE_DESC
|
The description of the
rule.
|
Yes
|
RULE_SEQ_NO
|
The order number for
the rule that is in the rule set. Order numbers in a rule set start
with 1.
|
No
|
CONDITIONAL_NM
|
The operator for the
rule. Specify
if , elseif ,
or or . The first rule in a rule set
must use the if operator. For information
about these operators, see Controlling Which Conditions Are Evaluated in SAS Business Rules Manager: User’s Guide. |
No
|
RECORD_RULE_FIRED_FLG
|
Specifies whether a
rule-fired record is created when the condition for the rule identified
in the RULE_NM field evaluates to
True .
Specify Y or N .
If you specify N , a rule-fired record
is not created regardless of what the condition evaluates to.
|
No
|
LHS_TERM
|
The term for the expression
specified in the EXPRESSION column. Terms that are specified in the
LHS_TERM column are the condition and action terms for the rule set.
In the rule set editor, these terms appear in the Term column in the
list view. They appear as column headings in the horizontal view and
as row headings in the vertical view.
|
No
|
EXPRESSION
|
A single condition or
action expression for the term specified in the LHS_TERM column. This
expression is the expression that you would enter into a cell in the
rule set editor. Enclose
character strings in quotation marks. To specify a missing expression,
enter a period and an underscore (
._ ).See Defining New Rules in the Rule Set in SAS Business Rules Manager: User’s Guide for more information
about expressions. |
Yes
|
EXPRESSION_ORDER
|
The order number of
the rule’s condition or action expressions. A rule’s
condition and action expressions are numbered beginning with 1. For
example, a rule might have two condition expressions that are numbered
1 and 2, and it might have three action expressions that are numbered
1, 2, and 3.
|
No
|
EXPRESSION_TYPE
|
The type of expression.
Specify
condition or action .
|
No
|