Previous Topic Next topic Print topic


BIND

Specifies the name of the bind file to be created. When BIND is specified without a parameter, the bind file defaults to the program name with the filename extension replaced by .BND, and is created in the current source directory.

Bind files can be written to a specific directory other than the current source directory or a directory specified by the BIND directive. To do this, you set the HCOBND environment variable. For example:

HCOBND=d:\mydir\binds

The directory you specify in the HCOBND environment variable applies to all bind files created by Studio Enterprise Edition until you unset the environment variable or specify a specific build setting for a program using the DB2 bind directive. For example:

db2(bind=d:\mybinds\test.bnd)

would cause the HCOBND environment variable setting to be ignored.

Syntax:

BIND=bindfile
BIND
NOBIND

Properties:

Default: NOBIND
Synonym: BINDFILE.
Previous Topic Next topic Print topic