Start of change

Command line processor BIND command

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

>>-BIND--file-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 and plans. Bind options must be separated by spaces.

Examples

Example: Binding a package with the 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