z/OS TSO/E Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Compiling and Assembling Programs

z/OS TSO/E Programming Guide
SA32-0981-00

After you write your source code, you must compile it into object code and place it in an object module (see Figure 1). The command you use to compile your source code depends on which programming language you are using. The third, or descriptive qualifier in the source code data set name should identify the programming language used to help the compiler find and process the data.

There are a number of versions of some compilers. You can usually find information on how to use your version of a compiler with the compiler code or in its accompanying reference material. This manual describes the commands used with several common compilers.

The RUN command, which is designed specifically for use with the program products listed in Table 1, compiles, loads, and executes source statements. If you cannot use the RUN command, you need the diagnostic information provided by the other commands, or you need to link your program to other modules, you must issue separate commands to link-edit your object modules into load modules, load these modules into main storage, and begin program execution. These commands, listed in Table 1, are described in the following topics.

Some commands used to compile or assemble source statements are:
  • ASM
  • COBOL
  • FORT
  • PLI

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014