Header files

Header files for the Metal C Runtime Library are located in the z/OS® UNIX file system directory: /usr/include/metal/. To use these headers with a Metal C compiler, you must instruct the compiler to search this directory. There are a number of ways to do this.

Note: Some Metal C header files such as stdio.h have the same names as header files for the Language Environment® C/C++ Runtime Library. To avoid including these, or inadvertently including any other headers supported by the LE library and not by Metal C, remove the non-Metal libraries from the search order. Depending on how you specify the system library search path, you need to remove other libraries from the SYSLIB concatenation of the compiler, or specify the NOSEARCH compiler option before pointing to /usr/include/metal/.
If you are compiling in batch, you can use the SEARCH compiler option:
SEARCH(/usr/include/metal/)
If you are compiling using the NOSEARCH compiler option, you have the following options: