Empty segment handling example 1

In this example, an HRL is composed of four segments:

  • FRL1 (four chars): abcd
  • FRL2 (four chars): This is empty.
  • VRL1 (terminator $): ijkl
  • VRL2 (terminator $): This is empty.

When Fill Spaces/Add Terminator is selected, the HRL message is:

abdc    ijkl$$

It also picks up the segment once before checking the Repeat While condition. This indicates there is always one occurrence of the segment.

When Active Null is selected, the message is:

abdcijkl$

It checks the Repeat While condition only when it attempts to parse the segment. In this case, the segment may not exist in the incoming message.