Binder Manual (G06.24+, H06.03+)
BIND Commands
Binder Manual—528613-003
3-64
SET Command
If you try to bind two object files that contain conflicting TARGET attributes, Binder
stops the current operation and issues the following error message:
****ERROR 165 **** TARGET types conflict:
entry point entry-name from file is type1, the current
setting is type2
If you enter the command SET TARGET ANY, and then later add in a procedure
whose setting is TARGET TNS, TARGET TNS/R or TARGET TNS/E, Binder
changes the target processor setting appropriately and issues the following
warning message:
**** Warning 166 **** SET attribute has been changed:
from TARGET ANY to TARGET type
type can be TNS, TNS/R or TNS/E.
•
For the DATA, EXTENDSTACK, STACK, HEAP, and LARGESTACK options, if you
enter an odd number of bytes, Binder rounds up value to an even value.
•
You can write process subtypes only into object files that contain a MAIN
procedure.
•
You can set only one of the DATA, STACK, or EXTENDSTACK parameters at a
time. Each successive SET command specifying one of these parameters
overrides the previous specification. Note the distinctions among these
parameters:
°
DATA specifies the total amount of data space allocated for data blocks and
local storage. This specification overrides Binder's estimate for the total
amount of data space.
°
STACK specifies the amount of stack space allocated for local storage. This
specification overrides Binder's estimate for local storage. Binder takes your
specification for local storage, adds it to its space needed for these data
blocks, and then computes total data space required.
°
EXTENDSTACK overrides Binder's estimate for local storage by specifying an
addition to it. Binder increases its allocation of local storage by the amount of
your addition and then adds together local storage and data space required for
data blocks to compute total data space required.
TNS/E Unspecified or specified as
either TNS/E or ANY
TNS/E
TNS/E TNS Error
ANY Specified as any one of
the SET TARGET options
Setting of File 2
Table 3-3. Resulting Target Processor Type
File 1 Target Type File 2 Target Type Resulting Binder Setting