EMA C++ RDM Usage Guide : 5 Dictionary Domain : 5.5 Field Dictionary : 5.5.2 Field Dictionary File Format : 5.5.2.4 FIELD TYPE Keywords
 
5.5.2.4 FIELD TYPE Keywords
The RDMFieldDictionary’s RWFTYPE and RWFLEN are derived from the field dictionaries used in Marketfeed.Valid keywords for the Marketfeed Field Type are INTEGER, ALPHANUMERIC, ENUMERATED, TIME, TIME_SECONDS, DATE, or PRICE.
Thee following Rssl Wire Format types and values help ensure that data is not truncated when converted from Marketfeed to Rssl Wire Format. If converting Rssl Wire Format to Marketfeed, an Open Message Model provider application should ensure that Rssl Wire Format data does not overflow the Marketfeed length.
For ALPHANUMERIC types, if the data does not require RMTES, then the ASCII_STRING type should be used instead of the RMTES_STRING type.
Fields that cannot be converted to Marketfeed should have the Marketfeed type NONE and length 0.
The table below lists the mappings from FIELD TYPE to the RWFTYPE keyword. All are used in RDMFieldDictionary and are safe.
 
Table 42: Marketfeed to Rssl Wire Format Mappings in RDMFieldDictionary  
Field Type
LeNGTH
RWFType
RWFLEN
NOTES
ALPHANUMERIC
14
ASCII_STRING
14
RIC/SYMBOL
ALPHANUMERIC
21
ASCII_STRING
21
RIC/SYMBOL
ALPHANUMERIC
28
ASCII_STRING
28
RIC/SYMBOL
ALPHANUMERIC
1-255
RMTES_STRING
1-255
length <= 3 is technically ASCII
ENUMERATED
2-3 (1-8)
ENUM
1
Enum values 0 - 255
ENUMERATED
5 (3-8)
ENUM
2
Enum values 0 - 65535
BINARY
3
UINT32
2
Base64 encoded 2-byte unsigned int
BINARY
4
UINT32
3
Base64 encoded 3-byte unsigned int
BINARY
43
BUFFER
32
Base64 encoded buffer
BINARY
171
BUFFER
128
Base64 encoded buffer
DATE
11
DATE
4
Day, month, year
TIME_SECONDS
8
TIME
5
Time in hour, minute, second, and millisecond
TIME
5
TIME
5
Time in hour, minute, and second
PRICE
17
REAL
9
Real can represent values with fractional denominators, trailing zeros, or up to 14 decimal positions.
INTEGER
15
REAL
7
Signed integer value, where trailing zero values can be optimized off of the wire.
INTEGER
3
UINT
1
Unsigned int 0 - 255
INTEGER
5
UINT
2
Unsigned int 0 - 65535
INTEGER
10
UINT
5
Unsigned int 0 - (240-1)
INTEGER
15
UINT
8
Unsigned int 0 - (264-1)
INTEGER
15
UINT
4
Unsigned int 0 - (232-1)