How is Unstring used?

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

How is Unstring used?

Postby pragati » Fri Nov 28, 2008 10:24 am

Can anyone tell how unstring works....
Posts: 2
Joined: Fri Nov 28, 2008 10:01 am
Has thanked: 0 time
Been thanked: 0 time

Re: How is Unstring used?


Re: How is Unstring used?

Postby dick scherrer » Fri Nov 28, 2008 11:17 am

Hello and welcome to the forum,

UNSTRING is used to break a variable into smaller pieces. Most times unstring is used to compound delimited data (string) into multiple individual fields.

Here is the link to the cobol reference manual which completely explains unstring: ... r10/6.2.39?

Suggest you bookmark the link as this manual contains the complete language reference.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Return to IBM Cobol


  • Related topics
    Last post