EMS Manual

Compiled Filters
EMS Manual426909-005
5-20
Comparisons
operand
is a token name (qualified or unqualified), a field name (qualified or unqualified), a
constant, or a bit-extraction operator applied to any of the elements just mentioned.
The way the filter compares values—token values with token values or token values
with constants—depends on the data types involved.
Associating Token and EMF Data Types
Table 5-2 lists the EMF (EMS filter) data type used to represent each of the token (and
field) types and related information. Y (yes) in the Warning column of Table 5-2 advises
you to not use the data type in a comparison. The compiler issues a warning message
if you do so. A dash (-) indicates information that depends on the individual token or is
not applicable, as with invalid types.
Table 5-2. EMF Types of Token Values
Token Type
(ZSPI-TDT-) EMF Type
Size of
Element
Number of
Elements Warning
BOOLEAN
BYTE
CHAR
CRTPID
DEVICE
Signed
Unsigned
String
Unsigned
Unsigned
2
1
1
2
2
1
1
1
4
4
N
N
N
Y
Y
ENUM
ERROR
FLT
FLT2
FNAME
Signed
Unsigned
Unsigned
Unsigned
File name
2
2
2
2
24
1
7
2
4
1
N
Y
Y
Y
N
FNAME32
INT
INT2
INT4
LIST
String
Signed
Signed
Signed
Illegal
1
2
4
8
-
32
1
1
1
-
Y
N
N
N
N
MAP
SSCTL
SSID
SSTBL
STRUCT
Unsigned
Illegal
Unsigned
Illegal
Unsigned
2
-
2
-
2
-
-
6
-
-
Y
N
N
N
Y
SUBVOL
TIMESTAMP
TOKENCODE
TRANSID
UINT
String
Unsigned
Unsigned
Unsigned
Unsigned
1
8
4
8
3
16
1
1
1
1
Y
N
N
Y
N
UNDE
F
USERNAME
Illegal
String
-
1
-
1
N
Y