Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

COBOL Programming :: RE: Unstring list of values into an array.

$
0
0
Author: Rohit Umarjikar
Posted: Tue Jun 28, 2016 9:53 pm (GMT 5.5)

1.Write a logic to change to ';' between the cities alone
Code:
 Name1#Name2#Y#N#City1;City2;City3;City4;City5;

2. Unstring step1 rec delimited by '#' into 5 variables
3. Unstring 5th variable delimited by ';' into an array
_________________
Regards,
Rohit Umarjikar
"Some things Man was never meant to know. For everything else, there's Google"


Viewing all articles
Browse latest Browse all 9405

Trending Articles