LIBRARY bind option

The LIBRARY option determines what partitioned data set or zFS file path to search for the DBRM that is listed in the MEMBER option.

Command option Option values Used with
LIBRARY
  • (dbrm-library-name)

dbrm-library-name must be cataloged.

Start of changeWhen dbrm-library-name is not delimited, it identifies a partitioned data set, and dbrm-member-name identifies the data set member. The partitioned data set name can be delimited by single quotation marks ('), and this is the recommended format. When a data set name is not delimited by single quotation marks, Db2 prefixes it with the user name or a default user name.End of change

When dbrm-library-name is delimited with double quotation marks ("), it identifies the absolute path of a zFS file, and dbrm-member-name identifies the zFS file. dbrm-library-name can contain mixed-case characters. For example, the following command binds a package from a DBRM file with absolute path name /u/mylib1/myMem1:

BIND PACKAGE (MYCOLL1) MEMBER("myMem1") LIBRARY("/u/mylib1")

Default values for LIBRARY

Process Default value
BIND PACKAGE Search only the libraries described by the DBRMLIB DD statement