z/OS XL C example

This information describes the basic steps to compile, bind, and run a C example program under z/OS® batch, TSO, or the z/OS shell.

If you have not yet compiled a C program, some concepts in this information may be unfamiliar. Refer to Compiling, Binding z/OS XL C/C++ programs, and Running a C or C++ application for a detailed description on compiling, binding, and running a C program.

This information describes steps to bind a C example program. It does not describe the prelink and link steps. If you are using the prelinker, see Prelinking and linking z/OS XL C/C++ programs.

The example program that this information describes is shipped with the z/OS XL C compiler in the data set CBC.SCCNSAM.