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

BIND Commands
Binder Manual528613-003
3-63
SET Command
USERLIBRARY {ON | OFF}
specifies the maximum number of code segments in an object file built by
Binder.
In a TNS system, the attribute specifies whether an object file is built with a
maximum of 16 or 32 code segments. If the file contains 17 to 32 code
segments, the process creation allocates the first 16 code segments in the
user code space and the remaining in the user library space. You cannot
run a program file that has more than 16 code segments by using an
external user library file. When USERLIBRARY is set to ON, the object file
is built with 32 code segments. When USERLIBRARY is OFF, the Binder
builds using a maximum of 16 code segments.
In a TNS/R system or a TNS/E system, the attribute specifies whether an
object file is built with a maximum of 32 or 64 code segments. If the file
contains 33 to 64 code segments, the first 32 code segments are allocated
in the user code space and the remaining in the user library space. You
cannot run a program file that has more than 32 code segments by using
an external user library file. When USERLIBRARY is set to ON, the object
file is built with 64 code segments. When USERLIBRARY is OFF, the
Binder builds using a maximum of 32 code segments.
USER BUFFER {ON | OFF}
By default the USER BUFFER Flag will be set to OFF while creating an object file.
Considerations
The SET command accepts OSS pathnames, except for the library option.
Binder determines the target processor from the input object files. Table 3-3 shows
the resulting Binder setting for various combinations of target processor settings.
Table 3-3. Resulting Target Processor Type
File 1 Target Type File 2 Target Type Resulting Binder Setting
Unspecified Either unspecified or
specified as any one of the
three SET TARGET
options
Setting of File 2
TNS Unspecified or specified as
either TNS or ANY
TNS
TNS TNS/R or TNS/E Error
TNS/R Unspecified or specified as
either TNS/R or ANY
TNS/R
TNS/R TNS Error