0 votes
in VSAM by
If VSAM is out of space, how do you fix the problem?

1 Answer

0 votes
by

If VSAM is running out of space, you can fix the issue as follows:

  1. Create a new VSAM dataset with additional space allocated.
  2. Copy the old VSAM file into the new VSAM dataset using the IDCAMS REPRO command.
  3. Alter/rename/delete an old VSAM dataset using IDCAMS.
  4. With IDCAMS, the new VSAM dataset can be altered/renamed to the original VSAM dataset's name.
...