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


Calling between assembler and COBOL under OS/390, Version 2 Release 9 or later

Changes were made in Language Environment for OS/390, Version 2 Release 9 that affect the AMODE upon return from a COBOL program to an assembler program. The changes were made in response to the problem reported in APAR PQ05151. The changes make Language Environment behave like the VS COBOL II run time, and provide consistent behavior regardless of the compiler used to compile the COBOL programs.

The change in behavior affects calls from assembler to COBOL only when there is a mode switch from AMODE 31 to AMODE 24 or from AMODE 24 to AMODE 31.

With Language Environment for OS/390, Version 2 Release 8 or earlier, the behavior for CALL statements between COBOL and assembler is as follows:
With Language Environment for OS/390, Version 2 Release 9 and later, the behavior for CALL statements between COBOL and assembler is as follows:

Terms of use | Feedback

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