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


Modifying program modules

HLASM Programmer's Guide
SC26-4941-06

If the editing functions of the binder are used to modify a program module, the entry point to the program module must be restated when the program module is reprocessed by the binder. Otherwise, the first byte of the first control section processed by the binder becomes the entry point. To enable restatement of the original entry point, or designation of a new entry point, the entry point must have been identified originally as an external symbol; that is, it must have appeared as an entry in the external symbol dictionary. The assembler automatically identifies external symbols if the entry point is the name of a control section or START statement; otherwise, you must use an assembler ENTRY statement to identify the entry point as an external symbol.

When a new object module is added to or replaces part of the load module, the entry point is restated in one of these ways:
  • By placing the entry point symbol in the operand field of an EXTRN statement and an END statement in the new object module,
  • By using an END statement in the new object module to designate a new entry point in the new object module,
  • By using a binder ENTRY statement to designate either the original entry point or a new entry point for the program module.

Further discussion of program module entry points is contained in the z/OS MVS Program Management: User's Guide and Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014