Binder Manual (G06.24+, H06.03+)

BIND Commands
Binder Manual528613-003
3-41
REPLACE Command
REPLACE Command
The REPLACE command inserts replacements for code blocks, data blocks, and any
referenced entry points or RTDUs into the include lists.
You cannot use the REPLACE command with nested blocks (blocks with a lexical level
greater than one).
CODE entry-list
specifies entry points in the file to replace entry points in the include entry name
list. See Table 3-2 for valid forms of entry-list.
DATA block-list
specifies data blocks in the file to replace data blocks in the include data block list.
See Table 3-2 for valid forms of block-list.
*
specifies that all entry points, data blocks, and RTDUs in the file are to replace
matching entry points, data blocks, and RTDUs in the appropriate include lists.
FROM file-name
specifies the Guardian file name or OSS pathname containing the entry points and
data blocks to replace corresponding ones in the include lists. The default is the
current file.
Considerations
Binder sets HIGHPIN ON for a target object file if and only if all of the files that
make up the target object file are set HIGHPIN ON.
Binder sets HIGHREQUESTERS ON for a target object file if and only if
HIGHREQUESTERS ON is set for the object file containing the main program.
Binder sets RUNNAMED ON for a target object file if any object file that makes up
the target file is set RUNNAMED ON.
The ADD command (with the DELETE option specified) performs functions similar
to those performed by REPLACE. ADD,DELETE adds a specified entry name to
the end of the include list, deleting the previous occurrence of the entry. REPLACE
removes the previous occurrence of the entry name and inserts the new reference
in its place.
If an error occurs during a REPLACE command, you might accomplish the
operation by using ADD,DELETE. For example, the REPLACE command replaces
REPLACE { CODE entry-list } [ FROM file-name ]
{ DATA block-list }
{ * }