Previous Page | Next Page

The INFOMAPS Procedure

UPDATE FILTER Statement


Updates the properties of a specified filter in the current information map.
UPDATE FILTER "filter-ID"
<CONDITION="conditional-expression">
<CUSTOM_PROPERTIES=NONE | ADD (custom-properties-list) |
REPLACE (custom-properties-list) | REMOVE (property-names-list)>
<DESCRIPTION="descriptive-text">
<ID="new-filter-ID">
<NAME="filter-name">;

Required Argument

"filter-ID"

specifies the ID of the filter to update.


Options

CONDITION="conditional-expression"

specifies a conditional expression that is used to filter the data.

CUSTOM_PROPERTIES=NONE | ADD (custom-properties-list) | REPLACE (custom-properties-list) | REMOVE (property-names-list)

specifies how custom properties for the filter are updated. Custom properties are supported by specific SAS applications such as SAS Marketing Automation. Valid operations are the following:

NONE

removes all custom properties from the filter, if there are any.

ADD (custom-properties-list)

adds the specified custom properties to the filter.

The form of the custom-properties-list is

("property-name-1" "property-value-1" <"description-1">)
...
("property-name-n" "property-value-n" <"description-n">)
where
property-name

specifies the name of the property.

Requirement: Property names must be unique. If a property name already exists in the filter, then the UPDATE FILTER statement will fail. Therefore, it is recommended that you add a prefix or suffix to the property name to ensure uniqueness.
Restriction: Property names cannot begin with an underscore (_) character.
property-value

specifies the value of the property.

description

specifies the description of the property. The description is optional.

REPLACE (custom-properties-list)

replaces the current custom properties for the filter with the specified custom propertied.

See the ADD operation for a description of the form of the custom-properties-list.

REMOVE (property-names-list)

removes the specified custom properties from the filter.

The form of the property-names-list is

"property-name-1" <... "property-name-n">
Interaction: If you specify both the ADD and REMOVE operations, then the REMOVE operation occurs first.
DESCRIPTION="descriptive-text"

specifies the description of the filter.

ID="new-filter-ID"

specifies the new ID for the filter.

NAME="filter-name"

specifies the name assigned to the filter in the information map.


Examples

update filter "ageFilter" 
   condition="<<Class.Age>> = 10" 
   description="Ten years old only" 
   name="Age Filter";

Previous Page | Next Page | Top of Page