Db2® uses z/OS
DFSMS to encrypt the underlying data sets for the
catalog, directory, and specific tables.
About this task
The encryption process uses a key label for encryption and decryption. DFSMS encrypts the
data set when you allocate new data sets by running specific Db2 utilities. Tip: You can run the
REPORT utility with the SHOWDSNS option to display the underlying data set names for the table
spaces and index spaces that you want to encrypt and to display the current key label associated
with each data set.
Procedure
-
If you are using RACF, set a key label for the RACF® data
set profile that is defined for the set of Db2 objects that you want to encrypt.
-
Run the REORG utility against each table space.
Important: If you are encrypting DSNDB01.SYSUTILX, you must run the RECOVER TABLESPACE
and REBUILD INDEX utilities against the table space and index space respectively rather than running
the REORG utility.
To verify that the encryption is successful, you can run the IDCAMS
LISTCAT command to display the current key label information.