The TDS Format properties described here apply to:
Property | Type | Meaning |
---|---|---|
Tag | String | Specify the value that is used to identify the object
in a message bit stream. If the object is simple and the Data Element Separation property of the complex type or types in which the object is a child is Tagged Delimited, Tagged Fixed Length, or Tagged Encoded Length, this property must contain a non-empty value. If the object is a complex element, and the Data Element Separation property of its parent is Tagged Delimited, Tagged Fixed Length, or Tagged Encoded Length, the property can contain an empty value. The value for this property must be unique for every element in the message set; that is, no two elements in the message set can contain the same value for this property. |
Data Pattern | String | Specify the regular expression that is to be used by the parser to identify the data in the message to be assigned to the object. This property is used when the Data Element Separation method has been set to Use Data Pattern in the complex type. See Regular expression syntax for more details. |
Property | Type | Meaning |
---|---|---|
Virtual Decimal Point | Button and Integer | Specify a nonzero integer that represents the position
of an implied decimal point within a number, or specify 0 (zero, the default)
to use the formatting of Float or Decimal numbers as specified by the Precision property. If you specify a positive integer, the position of the decimal point is moved left from the right hand side of the number. For example, if you specify 3, the decimal value 1234 represents 1.234 If you specify a negative integer, the position of the decimal point is moved right from the right hand side of the number. For example, if you specify -3, the decimal value 1234 represents 1 234 000 |
Precision | Button and Integer | This
value is used if the Virtual Decimal Point property
value is 0, which indicates that the decimal point is present in the data.
It deals with truncation, and specifies how many digits should follow the
decimal point. Either specify a number of digits:
Or select one of the following from the drop-down list:
|
Sign Orientation | Enumerated type | Select, from the drop-down list, the value that indicates
the positioning of a sign symbol within a numeric value:
If you set the value for this property to None, this is interpreted as having no sign, and an exception is thrown if a negative number is processed (on either input or output). If you set the value for this property to Leading, this indicates that the sign is positioned ahead of the number; for example, -1234. Similarly, if you set this property to Trailing, the sign follows the number; for example, 1234-. If no sign is set, the number is assumed to be positive. |
Positive Sign | String | Specify the value that represents the positive symbol. Do not specify a numeric value. If no value is set, "+" is assumed. The positive sign is not written when creating an output message; it is only used to recognize the positive sign when parsing a message bit stream. |
Negative Sign | String | Specify the value that represents the negative symbol. Do not specify a numeric value. If no value is set, "-" is assumed. |
Property | Type | Meaning |
---|---|---|
Encoding Null | Enumerated type | Select one of the following options from the drop-down
list:
The option that you select determines the value that you must set for the property Encoding Null Value. For full information about using these options, see TDS Null handling options. |
Encoding Null Value | String | The use of this property depends on the Encoding
Null property that is described above. The default value is zero. If you set the Encoding Null property for a dateTime object to NULLLogicalValue, the value that you set must be in an ISO8601 dateTime format. These formats are described in DateTime as string data. For example, specify a value that conforms to the yyyy-MM-dd'T'HH:mm:ss format; for example, 1970-12-01. |