Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


Change in behavior for DATA(31) programs under OS/390, Version 2 Release 9, or later

Although users requested WORKING-STORAGE and parameter lists above the 16-MB line with the DATA(31) compiler option, there were cases in which storage was acquired from below the 16-MB line under Language Environment for OS/390, Version 2 Release 8 or earlier. If these programs dynamically call AMODE 24 programs, then moving from Language Environment for OS/390, Version 2 Release 8 or earlier to Language Environment for OS/390, Version 2 Release 9 or later will now result in runtime error message IGZ0033S.

Under Language Environment for OS/390, Version 2 Release 8, or earlier, WORKING-STORAGE for COBOL programs compiled with DATA(31) was acquired from a HEAP segment that was allocated from BELOW storage. Under Language Environment for OS/390, Version 2 Release 9 or later, WORKING-STORAGE for COBOL programs compiled with DATA(31) is acquired from a HEAP segment that is allocated from ANYWHERE storage (which can be above or below the 16-MB line). Consider the following examples where this change will impact an application:

When a DATA(31) COBOL program runs under Language Environment for OS/390, Version 2 Release 8 or earlier, the HEAP is acquired from BELOW storage. When the same program runs under Language Environment for OS/390, Version 2 Release 9 or later, the HEAP is acquired from ANYWHERE storage.

If a call is made to an AMODE 24 program, the following considerations apply under Language Environment for OS/390, Version 2 Release 9 or later:

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)