HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Linkage editor control statements

HLASM Programmer's Guide
SC26-4941-06

In addition to object modules, input to the linkage editor includes linkage editor control statements. These statements are described in Table 1.

Table 1. Linkage editor control statements
Statement Action Comments
ACTION Use the ACTION statement to specify linkage editor options. The options are:
  • MAP—requests the linkage editor to write a linkage editor map to SYSLST.
  • NOMAP—suppresses the MAP option.
  • NOAUTO—suppresses the automatic library look up (AUTOLINK) function; the linkage editor does not attempt to resolve external references using the automatic library look-up function.
  • CANCEL—requests the linkage editor to cancel the job if a linkage editor error occurs.
  • SMAP—request the linkage editor to produce a sorted listing of CSECT names on SYSLST.
This statement must be the first linkage editor statement in your input stream.

ACTION MAP is the default, if SYSLST is assigned.

ENTRY Use the ENTRY statement to specify the entry point of a phase that has multiple possible entry points. The default entry point is the load address of the phase.
INCLUDE Use the INCLUDE statement to include additional object modules in the phase that are not otherwise included. You can use the INCLUDE statement to include an object module that was cataloged with a different name to the name used in the CALL statement in your program.
PHASE Use the PHASE statement to provide the linkage editor with a phase name. You must provide a PHASE statement (and the job control option CATAL) if you want to catalog the phase in a library sublibrary.

For a complete description of these linkage editor control statements, see z/VSE: System Control Statements.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014