UNSTRING operand evaluation
Subscripting, indexing, and length calculation associated with the UNSTRING statement might generate different results depending on whether CMPR2 or NOCMPR2 is in effect.
In the description below, the following general format of the UNSTRING
statement is used for reference:
UNSTRING id-1
DELIMITED BY id-2 OR id-3 ...
INTO id-4 DELIMITER IN id-5 COUNT IN id-6
id-7 DELIMITER IN id-8 COUNT IN id-9
WITH POINTER id-10
TALLYING IN id-11
ON OVERFLOW imp-stmt-1
NOT ON OVERFLOW imp-stmt-2
END-UNSTRING