Hello All,
I have a large Variable length record file.
My requirement is to count the bytes between particular strings i.e.,If I have a file something like below. I need to count the bytes from xyz to next xyz. In case of last set till the end of file. Can some one could advise whether it is achievable through DFSORT utilities? If not which will be better option - REXX, Easytrieve or Only Cobol?
xyz
abcdedfgggggggggg
abccccccddddddddddddddddef
aaaaaaaaaaaaaaaaaaaaa
xyz
bbbbbbbbb
bcvcfdggggggggggggggggggggg
ddddddddddddd
vdffdfvb
xyz
ccccccccccccccddddddddddddddd
eeeeffffggggggggg
eeeeeeeefffff