OO COBOL: Compiling and Linking

In short: it's a pain.

It took me only a couple of hours to get my first itty bitty OO programs to compile -- one class definition and one program to drive it. It took me about three days to get them to link and run.

Building an OO program involves far more than the usual compile-link-run process. I haven't figured it all out yet, but the major pieces seem to be as follows:

Different kinds of compiles need different kinds of JCL. Compiling a class definition is different from compiling a client program, and each is different from compiling a program which doesn't use objects. You need to follow yet another procedure if two or more classes refer to each other.

If you are adopting OO COBOL for the first time without an experienced hand to guide you, the complexity of these procedures will be a substantial obstacle.


[home]Cobol Home [OOC]OO Cobol