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:
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:
would cause the HCOBND environment variable setting to be ignored.