GnuCOBOL Report Writer

Looked at an old GnuCOBOL Report Writer program, I wrote. Which was a re-write of a school assignment. It didn’t compile. I need to look into it, I assumed it worked at the time. Although it was written before the feature was included by default… I think in version 3.

OK, reading this, I think I remember getting it to work on MVS under Hercules. I typed it into Linux for the purpose of later using it with GnuCOBOL, then copied that version to MVS as a starting point for MVS. Then made changes to make it work on MVS.

So the MVS program is probably a better starting point than the GnuCOBOL version. Because the MVS version has the “TYPE DE LINE NUMBER IS PLUS 1.” which evidently is correct and the GnuCOBOL version has “TYPE OF LINE NUMBER IS PLUS 1.”.

To recap…

I wanted to get the Report Writer feature working on GnuCOBOL. But at the time, GnuCOBOL didn’t include that feature built in. So I thought OK let me see if I can get it to work on MVS. So as a starting point I used the GnuCOBOL version I had previously typed in. And, with changes… I got it to work on MVS. So at this point it would be easier to use the MVS version as a starting point for GnuCOBOL.