Previous Topic Next topic Print topic


Considerations When Creating Reentrant Programs

Not every program can be compiled as reentrant. Use of some COBOL features will preclude reentrant compilation; most of these COBOL features are obsolete or archaic in ANSI Standard COBOL and their use should be discontinued. Programs that use the following features cannot be compiled with the REENTRANT directive:

If you are creating a reentrant program, there are also other restrictions you should be aware of:

The following performance and resource penalties are incurred in reentrant COBOL programs within a multi-threaded application:

Previous Topic Next topic Print topic