EMS Manual

Compiled Filters
EMS Manual426909-005
5-38
Functions
This filter fragment shows a PASS statement that routes the event to destinations 1
and 2 (and no pass value returned):
.
.
.
IF qflag THEN
PASS ,1,2;
Functions
The filter language includes Boolean functions DECOMPOSE, DECOMPOSEERROR,
EMSTEXTMATCH, FILENAMECOMPARE, LITERALLY, MATCH, TOKENPRESENT,
and the SSID function.
DECOMPOSE Function
This function returns the parts of a 12-word internal-format file name, a file-name
string, or a process handle. The file name can be either a disk file name or a process
file name.
value
is the file name or process handle to be decomposed. The data type for value can
be a string or a process handle.
p-list
describes the values to be produced by the decomposition. p-list can contain
one or more of these values, separated by commas:
DECOMPOSE ( value , p-list)
SYSTEM NAME
System name of process handle or file name
SYSTEM NUMBER
System number of process handle or file name
DESTINATION NAME
Device, process, or ldev of a file name
FIRST QUALIFIER
First qualifier of a file name
SECOND QUALIFIER
Second qualifier of a file name
CPU PART
CPU number for process handles, unnamed processes
SEQNO PART
Sequence number portion
PIN PART
Process identification number portion
NAME PART
Name portion only