z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RENAME statement

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

The RENAME statement allows for the renaming of specific symbols. An old symbol name can be renamed to a new symbol name that can then be used to resolve references when binding a module. The rename requests take place only after the binder attempts to resolve the original names. The new names are then used during the binder's final autocall in order to resolve any references previously unresolved.

The syntax of the RENAME statement is:

RENAME          oldname,newname
oldname
The symbol to be renamed. Its maximum length is 32767 bytes.
newname
The symbol name to which the oldname should be changed. Its maximum length is 32767 bytes.

To continue either of the symbols on multiple lines, code a nonblank character in column 72 of each line. Columns 73 to 80 of each line are ignored.

Placement: The RENAME statement can be placed before, between, or after object modules or other control statements. They do not take effect, however, until an AUTOCALL statement is processed, or, in the absence of AUTOCALL statements, until after the binder's final autocall processing takes place.
Note:
  1. The only immediate result of the RENAME control statement is that the rename request is added to the binder's list of such requests. RENAME processing takes place only after all possible references have been resolved with the names as they were specified on input.
  2. This statement is the functional equivalent of the prelinker's RENAME control statement. It should be noted, however, that the SEARCH parameter of the prelinker's statement is not supported by the binder.
  3. RENAME will only affect symbols that are marked as renameable. Since traditional object modules and load modules do not support the renameable attribute, RENAME will have no effect on symbols originating from modules in those formats. The renameable attribute is supported by GOFF, and it is also set for XSD records with the "mapped" bit off (from XOBJ modules).
  4. RENAME will have no effect on symbols originating from PR records (pseudoregister or part references).
  5. RENAME will have no effect on imported symbols.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014