Unstring delimited by size in cobol example

    unstring syntax in cobol
    string syntax in cobol
    unstring in cobol example
    unstring cobol
  • Unstring syntax in cobol
  • Inspect in cobol...

    COBOL - Unstring Statement


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

    The UNSTRING statement is used to parse individual items from within a single string.

    Any number of items may be parsed.

    Unstring with pointer in cobol example

  • Unstring tallying in cobol
  • Inspect in cobol
  • Unstring delimited by space in cobol
  • Unstring in cobol example
  • Entire or partial strings may be parsed. As many items as are provided as INTO operands will be parsed.

    Syntax:

    UNSTRING identifier-1 DELIMITED BY ALL identifier-2 or literal-1 [OR] [ALL identifier-3 or literal-2] 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

    identifier-1
    Represents the sending field.

    Data is transferred from this field to the data receiving fields (identifier-4).

    identifier-1 must reference a data item of category alphabetic, alphanumeric, alphanumeric-edited, DBCS, national, or national-edited.

    identifier-2, literal-1, identifier-3, literal-2
    Specifies one or more delimiters.

    identifier-2 and identifier-3 m

      unstring into table cobol