Use the Filter
Rows task to exclude rows from the target table by specifying
one or more DS2 expressions.
Initially, All
Rows is selected, which indicates that no rows will be
filtered from the target. To continue to the next task without filtering
rows, click Next.
To filter with a SAS
DS2 expression, click Specify expression.
To create a rule that
limits the rows to which the DS2 expression will be applied, click Specify
rule to indicate. The rule tests each matching row to
determine the source tables that include or do not include that row.
If the rule is true for a row, then the DS2 expression is evaluated
for that row. If the rule is not true, then the DS2 expression is
not evaluated and the matching row is written to the target. You can
create and apply multiple DS2 expressions. Each DS2 expression can
have its own rule.
To specify a rule, select In or Not
In for a selected source table. Click Add
condition to apply a logical AND or OR and
to specify a second source table. Continue
to add conditions as needed.
To create a DS2 expression,
you can paste an existing expression or enter the expression into
the DS2 expression text box. When adding an expression, note that
the entire expression is inserted into SAS code. The expression should
be syntactically correct with all the statements ending properly with
a semi-colon. SAS Data Loader does make one exception to this rule:
it adds a semi-colon at the end of an expression if there is no semi-colon
anywhere in the expression.
To paste a previously
copied DS2 expression, click DS2 expression and
press Ctrl+V or your equivalent.
To enter a DS2 expression,
use the column names and DS2 functions in the Resources list
box.
To add a second DS2
expression, click Add expression. Multiple
expressions are evaluated in the order in which they appear in the Filter
Rows task. The top expression is evaluated first, the
bottom expression last.
When your Filter
Rows task is complete, click Next to
display the Management Output Columns task.