to get the CITY in to a separate field, move the starting position of string in input filed to a counter and use that in Unstring as below MOVE 16 TO WW-PNTR2 UNSTRING WW-NAME-DTLS DELIMITED BY SPACE INTO WW-CITY WITH POINTER WW-PNTR2 END-UNSTRING If we code as below, First n...
An integer data item that indicates the leftmost character position within the sending field at whichUNSTRINGprocessing should begin (WITH POINTERphrase) An integer data item that stores a tally of the number of receiving fields that are acted on (TALLYING INphrase) ...
An integer data item that stores the number of characters placed inthe current receiving field (COUNT INphrase) An integer data item that indicates the leftmost character position within the sending field at whichUNSTRINGprocessing should begin (WITH POINTERphrase) An integer data item that stores a...