C/C++ AMODE/RMODE considerations

The following table shows valid AMODE and RMODE combinations when the C/C++ runtime product is installed with the runtime library, EDCZV, having RMODE=ANY. These settings are the installation defaults. XPLINK executable programs always run with AMODE=31.

Product RMODE AMODE Note
C/C++ with CICS/ESA ANY 31 All programs must use this AMODE and RMODE combination.
C/C++ with COBOL 24 or ANY 31 For VS COBOL II, all COBOL programs must be compiled with the RES compiler option, which causes AMODE=31. For COBOL for OS/390 & VM, COBOL for MVS & VM and COBOL/370, AMODE=31 always.
C/C++ with DB2® R2.2 24 or ANY 31 All programs must use this AMODE and RMODE combination.
C/C++ with IMS/ESA® V3R1 24 or ANY 31 All programs must use the same AMODE and RMODE combination. There are no restrictions on IMS/ESA parameters.
One of the following:
  • C/C++ only
  • C/C++ with ISPF
  • C/C++ with PL/I
24 or ANY 31 All programs must use the same AMODE and RMODE combination.

For information on AMODE switching, see z/OS XL C/C++ Runtime Library Reference.