Extending a data set

If a user-defined data set reaches the maximum number of VSAM extents, you can extend the data set by adding volumes.

Procedure

To extend a user-defined data set:

  1. If possible, delete unneeded data on the current volume.
  2. If deleting data from the volume does not solve the problem, add volumes to the data set in one of the following ways:
    • If the data set is defined in a Db2 storage group, add more volumes to the storage group by using the SQL ALTER STOGROUP statement.
    • If the data set is not defined in a Db2 storage group, add volumes to the data set by using the access method services ALTER ADDVOLUMES command.