cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
UNSTRING (↑ Statements)
 ◄Key►                                       ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Verb:         UNSTRING
 
  Function:     Splits the contents of a data item into separate
                character strings and stores them.
 
  Syntax:
 
  ►►───UNSTRING identifier-1────►
 
  ►┬──────────────────────────────────────────────────────────────────────┬►
   └─DELIMITED─┬──┬─┬─────┬─┬─identifer-2─┬─┬────────────────────────────┬┘
               └BY┘ └─ALL─┘ └─literal-1───┘ │ ┌─────────────────────────┐│
                                            │ ▼                         ││
                                            └─OR─┬─────┬─┬─identifier-3─┬┘
                                                 └─ALL─┘ └─literal-2────┘
 
         ┌────────────────────────────────────────────────────────────────┐
         ▼                                                                │
  ►─INTO identifier-4─┬───────────────────────────┬┬──────────────────────┬►
                      └─DELIMITER┬──┬identifier-5─┘└─COUNT┬──┬identifer-6─┘
                                 └IN┘                     └IN┘
 
  ►─┬─────────────────────────────┬─┬────────────────────────────┬─────────►
    └─┬────┬─POINTER identifier-7─┘ └─TALLYING─┬──┬─identifier-8─┘
      └WITH┘                                   └IN┘
 
  ►─┬──────────────────────────────────────┬──────►
    └─┬──┬─OVERFLOW imperative-statement-1─┘
      └ON┘
 
  ►─┬──────────────────────────────────────────┬──►
    └─NOT─┬──┬─OVERFLOW imperative-statement-2─┘
          └ON┘
 
  ►─┬──────────────┬──►◄
    └─END-UNSTRING─┘
                                    -♦-