COBOL Manual for TNS/E Programs (H06.03+)
Procedure Division Verbs
HP COBOL Manual for TNS/E Programs—520347-003
9-243
STRING
STRING
STRING combines some or all the characters from two or more data items into one
other data item.
part-1
is an alphanumeric literal or identifier of a DISPLAY data item. The concatenation
of their values is stored in the data item named by result. If a data item is
numeric, it must be described as an integer without P in its PICTURE character-
string. When a figurative constant is used, it represents a one-character
nonnumeric literal.
delimiter
is an alphanumeric literal or the identifier of a DISPLAY data item. It specifies the
portion of part-1 that is moved. It also specifies that all characters up to but not
including the value of delimiter are moved.
If the literal is a figurative constant, it represents the equivalent one-character
nonnumeric literal.
STRING
part-1 DELIMITED
BY SIZE
INTO
ON
OVERFLOW
POINTER
END-STRING
delimiter
result
pointer
imperative-stmt-1
WITH
ON
OVERFLOWNOT imperative-stmt-2
VST226.vsd










