Binder Manual (G06.24+, H06.03+)
BIND Commands
Binder Manual—528613-003
3-6
ADD Command
ADD Command
The ADD command has two forms. The first form of the ADD command inserts names
in the four include lists: include entry point list, include data block list, include code
block list, and include run-time data unit list (RTDU list). The second form of the ADD
command specifies that a code segment boundary marker be placed at the end of the
current include code list.
ADD resolves all previously unresolved external references that are satisfied by the
added entry point or data block, except those named on the omit list.
You cannot use the ADD command to include nested code blocks (blocks with lexical
levels greater than one).
CODE entry-list
specifies code to be included in the target file. Associated code blocks, entry
points, own blocks, and RTDUs are added to the appropriate include lists for each
entry point named. See Table 3-2 for valid forms of entry-list.
DATA block-list
specifies FORTRAN COMMON blocks, TAL BLOCKs, C external variables, Pascal
external variables, Pascal exported variables, and COBOL85 EXTERNAL data
items to be included in the target file. See Table 3-2 for valid forms of block-list.
*
specifies all code blocks, entry points, data blocks, and referenced RTDUs in the
file be added to the applicable include lists.
FROM file-name
specifies the Guardian object file name or OSS pathname to use. The default is the
current file.
DELETE
specifies any previously inserted occurrences of names added by this command
be deleted.
SPACE
specifies a code segment boundary marker be placed at the end of the current
include code list. The ADD SPACE command cannot include any other
parameters.
ADD { CODE entry-list } [ FROM file-name ] [ , DELETE ]
{ DATA block-list }
{ * }
or
ADD SPACE