IPA(LINK) compiler option and exploitation of 64-bit virtual memory

As of z/OS® V1R12 XL C/C++, the compiler component that executes IPA at both compile and link time is a 64-bit application, which will cause an XL C/C++ compiler ABEND if there is insufficient storage. The default MEMLIMIT system parameter size in the SMFPRMxparmlib member should be at least 3000 MB for the link, and 512 MB for the compile. The default MEMLIMIT value takes effect whenever the job does not specify one of the following:
  • MEMLIMIT in the JCL JOB or EXEC statement
  • REGION=0 in the JCL
Note:
  • The compiler component that executes IPA(LINK) has been a 64-bit application since z/OS V1R8 XL C/C++ compiler.
  • The MEMLIMIT value specified in an IEFUSI exit routine overrides all other MEMLIMIT settings.

The UNIX System Services ulimit command that is provided with z/OS can be used to set the MEMLIMIT default. For information, see z/OS UNIX System Services Command Reference. For additional information about the MEMLIMIT system parameter, see z/OS MVS™ Programming: Extended Addressability Guidez/OS MVS Programming: Extended Addressability Guide.

As of z/OS V1R8 XL C++ compiler, the EDCI, EDCXI, EDCQI, CBCI, CBCXI, and CBCQI cataloged procedures, which are used for IPA Link, contain the variable IMEMLIM, which can be used to override the default MEMLIMIT value.