To allocate a data set as unencrypted,
make sure the key label is not specified through the RACF data set profile or one of the DFSMS
methods.
Procedure
To change a Db2 data set from encrypted to unencrypted,
choose one of the following options:
-
For log, catalog, or directory data sets, complete the following steps:
-
Set the subsystem parameter ENCRYPTION_KEYLABEL to blank.
-
Issue the SET SYSPARM command to cause the new ENCRYPTION_KEYLABEL value to take effect.
Db2 does not pass the
ENCRYPTION_KEYLABEL value to DFSMS for allocation of new data sets for archive logs.
-
Run the REORG TABLESPACE utility against the catalog and directory table spaces.
-
For user objects, complete the following steps:
-
Issue ALTER TABLE or ALTER STOGROUP with the NO KEYLABEL clause for both the table and
containing storage group.
-
Run the REORG TABLESPACE utility against the table spaces associated with the table.