LINK command

Use the LINK command to invoke the binder or linkage editor service programs. The binder and linkage editor convert one or more object modules (the output modules from compilers) into a load module or program object suitable for execution. In doing this, the binder and linkage editor change all symbolic addresses in the object modules into relative addresses.

The binder and linkage editor provide a great deal of information to help you test and debug a program. This information includes a cross-reference table and a map of the module that identifies the location of control sections, entry points, and addresses. You can have this information listed at your terminal or saved in a data set.

You can change binder defaults. The changes replace the defaults for the LINK command. For more information about changing binder defaults, see z/OS MVS Program Management: User's Guide and Reference.

You might want to use the LOADGO command as an alternative to the LINK command, if:
  • The module that you want to process has a simple structure; that is, it is self-contained and does not pass control to other modules.
  • You do not require the extensive listings produced by the binder or linkage editor.
  • You do not want a load module or program object saved in a library.