Uri Guttman wrote:

> ...
what about the runtime libraries for those cobols? i worked on PL/I
libraries and they have many similar features to cobol (as pl/i was a
genetic monster of cobol/algol/fortran). stuff such as isam record i/o,
picture variables, decimal math, etc are needed for a full cobol. do
those compiler provide that or are there libs provided for it? some of
the fancier compilers of that generation actually generated inline code
instead of many calls to runtime libs.

Yes, run-time libraries are included. They are written in C.

Generally, both OC and TC generate inline code for program flow control. The RTL are used mostly for type conversions, system calls and such.

The COBOL standard requires 18 digits for declared and 31 digits for intermediate variables (33 for COBOL 200x) of precision. On 32 bit architectures this is generally emulated in software.

TC has a max of about 17 digits of precision (C type long long).

OC uses the GMP library so it meets all the COBOL standards.

For ISAM support both TC and OC use Berkeley's DB (now Sleepyc*t). While functional, ISAM support has not been fully tested. Nor does it meet the ISAM standard.

Finally, while TC has a primitive transaction processor, concurrency issues have not been addressed.




Reply via email to