Binding data to metadata is a library-level feature. In general, all tables within
a metadata-bound library are protected by that library and share the library’s password.
To establish and maintain
a best practice state that minimizes complexity:
-
Ensure that all physical tables within a metadata-bound library are protected by that
library. This standard, default state maximizes clarity. Special
circumstances (for example, a table that has a different, pre-existing password) can
result in a mixed state (for example, one of the tables within a metadata-bound library
is not bound to that library). To verify that this guideline is met, validate the
library.
-
Ensure that all physical tables that are protected by a particular metadata-bound
library remain within that library. This standard, default state maximizes clarity
and is
essential for unbind actions to be fully effective. Special circumstances (for example,
a table that is host-copied to another directory) can prevent an unbind action from
unbinding the relocated
data set.
For example, if someone uses a host copy command to add unbound physical tables to
a metadata-bound library, the added tables are not automatically bound. To bind the
added physical tables,
use the modify action to re-apply the password of the metadata-bound library.
See Changing a Metadata-Bound Library Password.
Note: If the host-copied tables
were already bound to another library, you must first use the REPAIR
DELETE LOCATION statement of the AUTHLIB procedure to remove that
binding.
See REPAIR Statement. After you
remove the original binding, you can use the modify action to re-apply
the password of the library in which the tables are currently located.