-
Contributing Member
Difference between COBOL verbs
Can someone tell me the difference between STRING and UNSTRING verb in COBOL?
-
Contributing Member
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.
-
Junior Member
Re: Difference between COBOL verbs
can anyone help me that what is difference between flat files and index files
-
Junior Member
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
-
Forum Rules