Invoking IPA using metalc utility
You can invoke the IPA compile step, the IPA link step, or both. The step that metalc invokes depends upon the invocation parameters and type of files you specify.
The following command invokes the IPA compile step for the source file hello.c:
metalc -c -qipa hello.c
The
following command invokes the IPA link step and generate the assembly source
file:
metalc -qipa hello.o
Specifying options
The following example shows how to pass the IPA and the SOURCE options to the IPA compile step, and the MAXMEM(2048) option to both the IPA compile and the IPA link step.
metalc -O2 -qipa -qsource -qmaxmem=2048 hello.c
Other considerations
The metalc utility automatically generates all INCLUDE and LIBRARY IPA Link control statements.
IPA under metalc supports the following types of files:
- MVS™ PDS members
- Sequential data sets
- z/OS® UNIX files
- z/OS UNIX archive (.a) files