The following paragraphs describe changes that can affect programs originally written with ACUCOBOL-GT Version 6.0.
Two compilation switches provide compatibility with Version 6.0:
-C60 | Causes the compiler to generate code according to the rules used by Version 6.0. |
-Z60 | Creates object code that can be run with a Version 6.0 runtime. |
The compiler uses a new algorithm for aligning literals in memory. The alignment is the smaller of the alignment specified by the -Da option (which has a default value of 4) or the largest power of 2 that is less than or equal to the literal's size. For example, a literal that requires 3 bytes of memory will have an alignment of 2. You can use the --noAlignLit option to turn off the new algorithm. See Data Storage Options in the ACUCOBOL-GT User's Guide, for additional information on --noAlignLit.