ViewPoint Manual

Customizing ViewPoint
ViewPoint Manual426801-001
6-4
The Default Primary-Events Filter
The default primary-events filter follows the basic rules listed above in determining
what to display on the Primary Events and Last Events screens. The default alternate-
events filter contains additional filtering rules that use operator input from the Alternate
Events Configuration screen to help determine what event messages ViewPoint displays
and how they are configured. The meaning of the filter parameters that can provide this
dynamic configuration is described later in this section under the heading “Filter
Parameters for Dynamic Configuration.
The source code for each of the default filters is provided in the next two figures. You
can use this code as a basis for writing your own filters or for modifying the default
filters.
The Default Primary-Events Filter
Figure 6-1 shows the source code for the default primary-events filter and the default
last-events filter (FLTRDFLT and FLTRLAST, respectively). These filters are identical
and are installed on the ViewPoint program subvolume. The source code file for the
filter (SVPTFLTR) resides on the installation subvolume. The source code for this filter
is shown in Figure 6-1.
This default filter source code filters out those events that have a SUPPRESS^DISPLAY
token value of TRUE and that are not action-completion events (events with an
ACTION^NEEDED token value of FALSE). In addition, it identifies action and critical
events for use on the Primary Events screen.
1 Displays the event message highlighted as an action event.
2 Displays the event message highlighted as a critical event.
3 Dims the corresponding action-needed message and decreases the event count
by 1.
Table 6-1. Pass Values and Corresponding ViewPoint Action
Pass Value ViewPoint Action