A set of examples illustrates how to build a Metal C program by
using either z/OS® UNIX System Services commands or MVS™ JCL procedures. In these examples:
- MYADD is the name of the entry point in the C program.
- The name of the C source file used to generate the HLASM source
file is mycode.c.
- The name of the HLASM source file is mycode.s if
it is generated under z/OS UNIX System Services.
- Under MVS, if the C source
file is a data set, the compiler uses the C source file name to form
the name of the HLASM source file. The high-level qualifier is replaced
with the userid under which the compiler is running, and .ASM is appended
as the low-level qualifier.