Example 4: The "Wild Card" Operator
This example shows a Data Filter definition that uses the "Wild Card" operator. Assume the
Data Filter Format is defined as shown in Figure 6.9 below.
Where Aindicates the first seven characters of the call record field that lists the number dialed.
Assume that you need to only store records for long distance calls. Since long distance phone
numbers always begin with the number 1, this Data Filter could be defined as follows:
^B42,A1====== [Enter]
Where:
A1====== Tells PollCat III to store records for calls dialed to any phone number that
begins with a "1", regardless content of the remaining six positions.
Note: The wild card operator (=) is used to fill out the remaining six positions in
the "A" field. Since this Data Filter uses only the first position of the "A" field, the
remaining six positions (specified by the Data Filter Format) must also be
accounted for.
Example 5: The "Not Equal To" Operator
This example shows a Data Filter definition that uses the "Not Equal To" operator. Assume the
Data Filter Format is defined as shown in Figure 6.10 below.
Where Arepresents the first seven characters of the record field that lists the number dialed.
Define a Data Filter Format that stores call records for local calls only. Since local calls never
begin with the number 1, this Data Filter would be defined as follows:
^B42,A~1====== [Enter]
Where:
A~1====== Tells PollCat III to store records for calls dialed to a phone number that does
not begin with a "1", regardless content of the remaining six positions.
Note: The wild card operator (=) is used to fill the remaining six positions of the
"A" field. Since this Data Filter uses only the first position of the "A" field, the
remaining six positions (specified by the Data Filter Format) must also be
accounted for.
6-12
PollCat III - Pollable Call Accounting Terminal, User's Guide The Data Filter
|08:16|075|B.JOHNSON |IN | |00:55|00.00|
|08:18|067|R.JONES |OUT|19495839514 |05:36|00.75|
|08:20|013|J.SMITH |OUT|18008547226 |01:07|00.00|
----------------------------AAAAAAA-----------------------
Figure 6.9: Example 4, Data Filter Format
|08:16|075|B.JOHNSON |IN | |00:55|00.00|
|08:18|067|R.JONES |OUT|19495839514 |05:36|00.75|
|08:20|013|J.SMITH |OUT|5555555 |01:07|00.00|
----------------------------AAAAAAA-----------------------
Figure 6.10: Example 4, Data Filter Format