I’ve seen people mention java and .net when talking about Cobol and haven’t seen a true & complete piece of OOP Cobol codes. It it true?
If not, where and how can I create an instance in Cobol main (don’t know so I said so) like in other language ( what I could do with them in cobol)?
I mean, what I read is how to create classes. I didn’t see they actually give out any example to do with those classes.
I’ve seen people mention java and .net when talking about Cobol and haven’t seen
Share
You are not going to find a “true and complete” example of a full OO COBOL application in the world of IBM Enterprise COBOL (other vendors may have been more successful). OO extentions for IBM Enterprise COBOL are only there to allow interoperability with Java applications, not to develop complete OO based COBOL systems.
See the response by tmross to this post on IBM’s COBOL Cafe web site concerning a pure OO COBOL HelloWorld program. It pretty much outlines what the real problem is. Note, Tom Ross (tmross) is a major player in IBM’s COBOL compiler development so he speaks with some authority.
BTW… I am in no way affiliated with IBM.