You can
use the
Rules tab in the properties window
for the Clickstream Parse transformation to perform specified record-level
processes based on the clickstream input data stored in a record.
Common record-level
processes include the following tasks:
-
-
conditionally assigning a value
to a variable
-
executing custom SAS code
Each row
in the table on the
Rules tab consists of
a criteria and an action that is associated with the criteria that
is matched within the data. The tools on the tab enable you to develop
a set of rules associated with an instance of a Clickstream Parse
transformation in a process flow. Apply these rules to each record
that is processed by the transformation.
For example,
you can use a rule to search for and remove unwanted data records
from a source table. This approach saves the significant records in
a target table for continued analyses. If you are analyzing a marketing
campaign, you can detect and remove records that contain unwanted
ZIP codes from your target table. Then, they would not be included
in future runs of the analysis.
The row for each rule
consists of the following columns:
specifies whether the
rule is active (Yes or No) for the current transformation.
specifies the name
of the group to which the rules belong. Typical default names for
groups include Samples, Filters, and User.
specifies the name
of the rule. Typical default names for rules include Filter local
IP address, Filter graphic files, Filter spiders by user agent, User
code after input, and User code after parse.
specifies the stage
in the parse process at which the rule is applied. The default values
are After input and After parse.
specifies criteria
against which a data record is tested. The valid condition testing
methods are Always, Column Search, SAS expression, and Regular expression.
specifies the activity
to perform when the condition is met. The valid actions are Delete,
Assign, and Code.
Perform
the following tasks to manage rules: