Binder Manual (G06.27+, H06.04+, J06.03+)
BIND Commands
Binder Manual—528613-004
3-40
RENAME Command
•
The following example directs the output produced by the SHOW command to the
printer $S.#LP1, then redirects it back to the terminal named $TERM.
@OUT $S.#LP1
@SHOW INFO FROM myfile
@OUT $TERM
•
The following example directs the HELP description of the BUILD command to the
printer $S.#LP3. Any output subsequent to this command automatically goes to the
previous output setting.
@HELP BUILD /OUT $s.#lp3 /
RENAME Command
The RENAME command renames a code or data block.
You cannot use RENAME with nested code blocks (code blocks with a lexical level
greater than one).
CODE entry-point-name
specifies the current name of the code block to rename.
DATA data-block-name
specifies the current name of a data block to rename.
name
specifies the new name assigned to the specified block.
Considerations
•
Use the RENAME command when binding together two object files that contain
different types of data blocks with the same name. For example, one data block is
an OWN block, and the other is a COMMON block.
•
You are not allowed to rename special data blocks.
Example
The following example renames BLOCK1 to BLOCKA.
@RENAME CODE block1 TO blocka
RENAME { CODE entry-point-name } TO name
{ DATA data-block-name }