UNSTRING statement.

The UNSTRING statement causes contiguous data in a sending field to be separated and placed into multiple receiving fields.

Format.

          UNSTRING identifier-1

                [ DELIMITED [ BY ] [ ALL ] { identifier-2 }
                                           { literal-2    }
                        [ OR [ ALL ] { identifier-3 } ] ... ]
                                     { listeral-3   }

                  INTO { identifier-4 [ DELIMITER IN identifier-5 ]
                        [ COUNT IN identifier-6 ] } ...

                [ WITH POINTER identifier-7 ]

                [ TALLYING IN identifier-8 ]

                [ [ ON ] OVERFLOW imperative-statement-1 ]
                [ NOT [ ON ] OVERFLOW imperative-statement-2 ]

                [ END-UNSTRING ]