COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

source
is the identifier of an alphanumeric data item containing a sequence of characters that the
unstring operation is to separate into one or more sequences of characters and store them in
one or more result items. source can be qualified or subscripted, but cannot include
reference modification.
ALL
causes the unstring operation to handle all consecutive occurrences of the value of delim-1
as if they were only one occurrence of delim-1. Without ALL, the unstring operation handles
only the first occurrence of the value of delim-1 as the delimiter.
delim-1
is the identifier of an alphanumeric data item or an alphanumeric literal. If it is a figurative
constant, it must represent a single character.
The delimiter delim-1 marks the end of a portion of the value of source. The value that the
unstring operation stores into a result item does not include the value of delim-1.
ALL
causes the unstring operation to handle all consecutive occurrences of the value of delim-2
as if they were only one occurrence of delim-2. Without ALL, the unstring operation handles
only the first occurrence of the value of delim-2 as the delimiter.
UNSTRING 475