Configuring a Loop

In CII terminology, a loop is expressed as a multi-detail. Multi-details are indicated through the use of specific TFDs. A multi-detail header (MDH) is used before the start of a loop, and at the end of each iteration there is a multi-detail return (MDR). The multi-detail trailer (MDT) is located at the end of the loop. The following table shows how a multi-detail is typically configured:

TFD Type Tag Properties
Multi-detail header (MDH) 0xFA One-byte string
MDH 0xFD Two-byte binary numeric type N0
Multi-detail return (MDR) 0xFB No data
Multi-detail trailer (MDT) 0xFC No data