cobolSTRING statement

Remarks

The STRING statement concatenates the partial or complete contents of multiple fields into a single result.

STRING statement syntax diagram

STRING example for C strings

*> Strip off trailing zero bytes
STRING c-string DELIMITED BY LOW-VALUE INTO working-store