Migrating to DFSMShsm
If you decide to use DFSMShsm for your Db2 data sets, you should develop a migration plan with your system administrator.
About this task
With user-managed data sets, you can specify DFSMS classes on the Access Method Services DEFINE command. With Db2 storage groups, you can specify SMS classes in the CREATE STOGROUP statement, develop automatic class selection routines, or both.
Restriction: If you use the BACKUP SYSTEM utility
to create system-level backups, do not use DFSMShsm to migrate Db2 table spaces and indexes. You
can use DFSMShsm to
migrate or recall archive log data sets.
Procedure
To enable DFSMS to manage your Db2 storage groups:
Example
The following example shows
how to create a storage group in a SMS managed subsystem:
CREATE STOGROUP SGOS0101
VCAT REGSMS
DATACLAS REGSMSDC
MGMTCLAS REGSMSMC
STORCLAS REGSMSSC;