Supported data types
The elements in the ComIbmDni folder are described by their cardinality and values. Each value is of a specific data type. The default data type is string. All other data types must be specified explicitly.
Table 1 shows the IBM® Integration Bus data types that FTM SWIFT supports. Table 2 shows the additional data types that FTM SWIFT supports.
| Data type | Value |
|---|---|
| string | Any sequence of characters, excluding < and &. This is the default data type. |
| boolean | TRUE or FALSE. |
| bin.hex | Hexadecimal digits representing octets. |
| i1 | A number, expressed using the digits 0 - 9, with an optional sign and without fraction or exponent. It must be in the range -128 - 127. |
| i2 | A number, expressed using the digits 0 - 9, with an optional sign and without fraction or exponent. It must be in the range -32 768 to 32 767. |
| i4 | A number, expressed using the digits 0 - 9, with an optional sign and without fraction or exponent. It must be in the range -2147483648 - 2147483647. |
| i8 | A number, expressed using the digits 0 - 9, with an optional sign and without fraction or exponent. It must be in the range -9223372036854775808 - 9223372036854775807. |
| int | A number, expressed using the digits 0 - 9, with an optional sign and without a fraction or exponent. It must be in the same range as i8. If the sender does not want to associate a particular precision with the element, this data type can be used instead of one of the other data types that begin with i.. |
| r4 | A floating point number, expressed using the digits 0 - 9, with an optional sign, optional fractional digits, and an optional exponent. Unless it is zero, its magnitude (absolute value) must be in the range 1.175E-37 - 3.40282347E+38. |
| Data type | Value |
|---|---|
| date | A date with the pattern yyyy-mm-dd, based
on Coordinated Universal Time (UTC). Leading zeros are required, for
example, 2016-01-03. All dates in messages must use this format. |
| time | Time with the pattern hh:mm:ss, based
on Coordinated Universal Time (UTC). Leading and trailing zeros are
required, for example, 06:05:00. All times in messages must use this format. |
| dateTime | A combined date and time with one of the following
patterns:
|
| duration | Time interval with the pattern PdDThHmM,
where:
|