Results 1 to 4 of 4

Thread: Difference between COBOL verbs

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    82

    Difference between COBOL verbs

    Can someone tell me the difference between STRING and UNSTRING verb in COBOL?


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    75

    Re: Difference between COBOL verbs

    The UNSTRING is used to divide a string into sub-strings. The STRING verb is used for string concatenation. That is, it is used to join together the contents of two or more source strings.


  3. #3
    Junior Member
    Join Date
    Mar 2007
    Answers
    1

    Re: Difference between COBOL verbs

    can anyone help me that what is difference between flat files and index files


  4. #4
    Junior Member
    Join Date
    Dec 2006
    Answers
    20

    Re: Difference between COBOL verbs

    A delimiter in STRING causes a sending field to be ended and another to be started.

    A delimiter when encountered in the sending field causes the current receiving field to be switched to the next one indicated.

    STRING/UNSTRING should be used with care. A character by character MOVE loop is more efficient.


    It is more efficient to REDEFINE the data as a table of one character items and to unstring the data with IF and MOVE statements.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact