EMS Manual
Compiled Filters
EMS Manual—426909-005
5-41
Functions
FILENAMECOMPARE Function
This function compares two values to determine whether they refer to the same object.
FILENAMECOMPARE returns TRUE if the values represent the same object.
value
is a token name representing a D-series file name.
This statement passes all events generated by a particular instance of $null:
IF FILENAMECOMPARE (ZEMS^TKN^PROC^DESC, #\ncn.$null*) THEN
PASS;
This test succeeds only if $null is still running with the same sequence number
contained in the event message:
IF FILENAMECOMPARE (ZEMS^TKN^PROC^DESC, #\ncn.$null:430*) THEN
PASS;
LITERALLY Function
The LITERALLY function forces case-sensitive evaluation of string or MATCH-function
comparisons within a Boolean expression, contrary to normal comparison conventions.
The value of LITERALLY, TRUE, or FALSE depends on the evaluation of its argument:
a Boolean expression.
Boolean-expression
is any valid Boolean expression.
Example
These Boolean expressions are all TRUE:
"This is IT" = "This is it"
LITERALLY ( "This is IT" = "This is IT")
LITERALLY ( "This is IT" <> "This is it")
FILENAMECOMPARE ( value , value )
LITERALLY ( Boolean-expression )