IN macro
The IN macro is available in IBM® Campaign and IBM® Interact.
Syntax
valuet IN (value1 AND value2 . . . .) or valuet IN subquery
Parameters
The first form permits using a list of values instead of a subquery.
The second form uses a subquery that is evaluated to produce an intermediate result, against which further processing can be performed.
Description
The IN predicate lets you use a list of values instead of a subquery, or will introduce a subquery.
*
*
When using IN in IBM® Interact, you can only use the value IN (value1 AND value2 . . . .) syntax.
Examples
Creates a new column named TEMP containing the value one.
Creates a new column named TEMP containing all ones.
Creates a new column named TEMP, where each value is a one if the corresponding row of column V1 contains a value in column V2, else a zero.