Basic link-editing and running C/C++ applications under z/OS UNIX

z/OS UNIX supports the following environments for running your z/OS UNIX C/C++ applications:
  • z/OS UNIX shells
  • TSO/E
  • Batch
  • z/OS UNIX shells through MVS™ batch

Using the z/OS UNIX-supplied utilities c89/cc/c++, you can compile and link-edit a z/OS UNIX C/C++ application in one step, or link-edit application object modules separately. To produce an executable file, invoke c89 and pass it object modules (file.o z/OS UNIX files or file.OBJ MVS data sets) without using the -c option.

See z/OS UNIX System Services Command Reference for information about the c89 utility.