Example
In the following sample is from a dividing-mode CII message, bold indicates the tag and italics indicates the length. The data is displayed in hex and spaces are added here for readability.
… 01 04 34 32 39 30 02 04 30 35 30 34 03 06 39 38 30 35 32 39 …
Dividing Mode
Most CII files are sent in dividing mode (also translated as division mode). This mode requires the messages to be sent in chunks of 251 bytes to facilitate communications. To set dividing mode, use the Partner Editor.
Non-transparent Mode
According to the CII Syntax Rule, non-transparent mode is an option that helps you avoid interfering with communication control characters in some communications systems.
Using Extended-mode Tags
According to the CII specification, tags are in either compressed or extended mode. The following table illustrates the differences.
Mode | Size | Range (Decimal) |
---|---|---|
Compressed | 1 byte | 1 - 239 |
Extended | 2 bytes | 1 - 61439 |
A TFD is in compressed mode unless an extended-mode indicator (0xF0) was previously encountered in the TFD stream.