This example shows a
different approach for modifying the passwords of existing data sets
to match the metadata-bound library passwords. It uses the MODIFY
statement. Here, the MODIFY statement is used to modify the data set
passwords of the EMPLOYEES and EMPINFO data sets from
Example 2 to match the metadata-bound library
password. The MODIFY statement can also be used to modify the data
set passwords of data sets that are copied into a metadata-bound library
by operating system commands after the library has been bound. The
existing data sets’ Alter password is specified in the PW=
argument before the metadata-bound password, separated by a slash
(/). The TABLESONLY statement specifies to modify table passwords
only.