The following sections describe changes that can affect programs originally written with ACUCOBOL-GT Version 6.2.
On UNIX systems, the ACUCOBOL-GT development system (compiler, runtime, utilities, etc.) has a new default directory location. The new location is: /opt/acucorp/720. This change has been made to conform with the Version 2.3 Filesystem Hierarchy Standard (FHS). Installing into the FHS standard location provides consistency and improves system integration. For more information about the FHS standard, please visit www.pathname.com/fhs/pub/fhs-2.3.html.
Versions of ACUCOBOL-GT prior to Version 7.0 had the behavior of initializing external data items to LOW-VALUES, even when the rest of Working-Storage was initialized to spaces. Beginning with Version 7.0, all Working-Storage data items are initialized to spaces or the value specified with the -Dv compile option. This includes external data items.
To maintain compatibility with programs that rely on the old behavior, you can compile for semantic compatibility with Version 6.2 or earlier. Use the -C## compile option to do this (for example, -C62 for Version 6.2 compatibility). When you compile for compatibility with Version 6.2 or earlier, external data items are initialized to null bytes, regardless of how the rest of Working-Storage is initialized.
Starting with Version 7.0, ACUCOBOL-GT has added significant new features to the C interface, allowing you greater flexibility for calling COBOL programs from C and C++.
For existing programs, this means:
Two compilation switches provide compatibility with Version 6.2:
-C62 | Causes the compiler to generate code according to the rules used by Version 6.2. |
-Z62 | Creates object code that can be run with a Version 6.2 runtime. |
The WARNINGS runtime configuration variable provides some control over how reference modification range errors are handled. See its entry in Appendix H.