Using cataloged procedures for z/OS® XL C

You can use one of the following IBM-supplied cataloged procedures. Each procedure includes a compilation step to compile your program.
EDCC
Compile a 31-bit or 64-bit program
EDCCB
Compile and bind a 31-bit program
EDCXCB
Compile and bind a 31-bit XPLINK C program
EDCQCB
Compile and bind a 64-bit C program
EDCCL
Compile and link-edit a 31-bit naturally re-entrant program
EDCCBG
Compile, bind, and run a 31-bit program
EDCXCBG
Compile, bind, and run a 31-bit XPLINK C program
EDCQCBG
Compile, bind, and run a 64-bit C program
EDCCLG
Compile, link-edit, and run a 31-bit program
EDCCPLG
Compile, prelink, link-edit, and run a 31-bit program
EDCCLIB
Compile and maintain an object library for a 31-bit or 64-bit application

IPA considerations

The EDCC procedure should be used for the IPA compile step. Only the EDCI and EDCXI procedures apply to the IPA link step. For information on the EDCI and EDCXI procedures, see Using the IPA link step with z/OS XL C/C++ programs.

To run the IPA compile step, use the EDCC procedure, and ensure that you specify the IPA(NOLINK) or IPA compiler option. Note that you must also specify the LONGNAME compiler option or the #pragma longname directive.

To create an IPA-optimized object module, you must run the IPA compile step for each source file in your program, and the IPA link step once for the entire program. Once you have successfully created an IPA-optimized object module, you must bind it to create the final executable.

For further information on IPA, see Using the IPA link step with z/OS XL C/C++ programs.