Start of change

BIND (Db2 command line processor)

The BIND command binds DBRMs that are in hierarchical file system (HFS) files into a package.

Read syntax diagramSkip visual syntax diagramBINDfile-name -collection collection-name bind-options
file-name
The absolute or relative path name of the file that contains a DBRM.
collection-name
The name of the package collection into which you want to bind the DBRM.
bind-options
Specifies one or more of the bind options that are listed in BIND and REBIND options for packages, plans, and services. Bind options must be separated by spaces.

Examples

Example: Binding a package with the Db2 command line processor
Suppose that you compiled a C language Db2 application whose full path name is /u/usrt005/APP01.c. The compilation process created a DBRM named /u/usrt005/APP01.dbrm. You want to bind the DBRM into package collection PKG01, with bind options ISOLATION(CS) and RELEASE(DEALLOCATE). Use this command to perform the bind:
BIND /u/usrt005/APP01.dbrm -collection PKG01 ISOLATION(CS) RELEASE(DEALLOCATE)
End of change