Page 1 of 1

COBOL program logic to copy VB to VB and check the Delimitor

PostPosted: Fri Sep 20, 2019 3:25 pm
by Dhanu0009
Hi Team,
I have a requirement to copy the VB file of rec-length:4580 to VB file based on Delimitor count upto 95 only from each record even if input record has more that delimitor fields.Each field is associated with the | delimitor.need to truncate the fields after 95th delimitor.Can you please help

Infile:
1|2|3|...………..|95|96|...…|9999

Output:
1|2|3|...….|95

Re: COBOL program logic to copy VB to VB and check the Delim

PostPosted: Fri Sep 20, 2019 6:34 pm
by Terry Heinze
Why did you start this topic while it's still being discussed at the sort forum?

Re: COBOL program logic to copy VB to VB and check the Delim

PostPosted: Fri Sep 20, 2019 8:13 pm
by steve-myers
Well, it would seem the TS regards the aid he has received in Easytrieve (where this foolishness started) and/or DFSORT as inadequate. It seems to me the TS wants a completed solution and expects to get one here.

Re: COBOL program logic to copy VB to VB and check the Delim

PostPosted: Sat Sep 21, 2019 2:27 am
by NicC
Until you have responded satisfactorily to the last question posed in your DFSort topic this topic is locked.