



The UNSTRING statement causes contiguous data in a sending field to be separated and placed into multiple receiving fields.
___ Format _______________________________________________________________________________________
| |
| >>__UNSTRING__identifier-1_____________________________________________________________________> |
| |
| >__ _____________________________________________________________________________________ _____> |
| |_DELIMITED__ ____ __ _____ __ _identifier-2_ __ ___________________________________ _| |
| |_BY_| |_ALL_| |_literal-1____| | <_______________________________ | |
| |___OR__ _____ __ _identifier-3_ _|_| |
| |_ALL_| |_literal-2____| |
| |
| >__INTO________________________________________________________________________________________> |
| |
| <____________________________________________________________________________________ |
| >____identifier-4__ _________________________________ __ _____________________________ _|______> |
| |_DELIMITER__ ____ __identifier-5_| |_COUNT__ ____ __identifier-6_| |
| |_IN_| |_IN_| |
| |
| >__ _________________________________ __ ________________________________ _____________________> |
| |_ ______ __POINTER__identifier-7_| |_TALLYING__ ____ __identifier-8_| |
| |_WITH_| |_IN_| |
| |
| >__ __________________________________________ ________________________________________________> |
| |_ ____ __OVERFLOW__imperative-statement-1_| |
| |_ON_| |
| |
| >__ _______________________________________________ __ ______________ ________________________>< |
| |_NOT__ ____ __OVERFLOW__imperative-statement-2_| |_END-UNSTRING_| |
| |_ON_| |
| |
|__________________________________________________________________________________________________|
It must be an alphanumeric data item.
The rules for moving an alphanumeric elementary item are the same as those for the MOVE statement (see "MOVE Statement" in topic 6.2.24).
Subtopics:
© Copyright IBM Corp. 1991, 1998
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.