ContentsIndexPreviousNext

Highlights for First-Time Users

1. A clear, concise description of the concatenation transfer process is contained in entry 3 of the preceding General Rules section.

2. Use DELIMITED BY to concatenate a portion of the source item up to, but not including, the delimiter. The delimiter may be a single character or a string.

3. Use OVERFLOW to do special processing in the event that the size of the concatenation overflows the destination data item. The OVERFLOW phrase should always be included when an overflow condition is possible.

4. Use NOT ON OVERFLOW to do special processing in the event that the concatenation succeeds (does not result in an overflow).

5. Use POINTER to place data into a common destination when concatenation requires multiple STRING statements. See code example 2, above.

6. The STRING statement does not space fill the target data item. You must initialize the destination data item. For example:

01 CLAIM-CODE  PIC X(20)  VALUE ALL SPACES.