VMS Help
COBOL, PROCEDURE_DIVISION, STRING
*Conan The Librarian
|
The STRING statement concatenates the partial or complete contents of one
or more data items into a single data item.
Format -
STRING { { src-string } ... DELIMITED BY { delim } } ...
{ { SIZE } }
INTO dest-string [ WITH POINTER pointr ]
[ ON OVERFLOW stment ] [ NOT ON OVERFLOW stment ]
[ END-STRING ]
is a nonnumeric literal or identifier of a DISPLAY data item. It is
the sending area.
is a nonnumeric literal or the identifier of a DISPLAY data item. It
is the delimiter of src-string.
is the identifier of a DISPLAY data item. It cannot be reference
modified. Dest-string is the receiving area that contains the result
of the concatenated src-strings.
is an elementary numeric data item described as an integer. It points
to the position in dest-string to contain the next character moved.
is an imperative statement.