z/OS concepts
Previous topic | Next topic | Contents | Glossary | Contact z/OS | PDF


What happens when a data set runs out of space?

z/OS concepts

When you allocate a data set, you reserve a certain amount of space in units of blocks, tracks, or cylinders on a storage disk. If you use up that space, the system displays the message SYSTEM ABEND '0D37,' or possibly B37 or E37.

This situation is something you will have to deal with if it occurs. If you are in an edit session, you will not be able to exit the session until you resolve the problem.

Among the things you can do to resolve a space shortage abend are:

  • If the data set is a PDS, you can compress it by doing the following:
    1. Split (PF 2) the screen and select UTILITIES (option 3).
    2. Select LIBRARIES (option 1) on the Utility Selection Menu.
    3. Specify the name of the data set and enter C on the option line.
    4. When the data set is compressed, you should see the message COMPRESS SUCCESSFUL.
    5. You can then swap (PF 9) to the edit session and save the new material.
  • Allocate a larger data set and copy into it by doing the following:
    1. Split (PF 2) the screen and select UTILITIES (option 3), then DATASET (option 2) from the other side of the split.
    2. Specify the name of the data set that received the abend to display its characteristics.
    3. Allocate another data set with more space.
    4. Select MOVE/COPY (option 3) on the Utility Selection Menu to copy members from the old data set to the new larger data set.
    5. Browse (option 1) the new data set to make sure everything was copied correctly.
    6. Swap (PF 9) back to the abending edit session, enter CC on the top line of input and the bottom line of input, enter CREATE on the command line, and press the Enter key.
    7. Enter the new, larger data set name and a member name to receive the copied information.
    8. You again see the abending edit session. Enter CANCEL on the command line. Press the RETURN key (PF 4) key to exit the edit session.
    9. Select DATASET (option 2) from the Utility Selection Menu to delete the old data set.
    10. Rename the new data set to the old name.
  • Cancel the new material entered in the edit session by entering CANCEL on the command line. You should then be able to exit without abending; however, all information that was not previously saved is lost.




Copyright IBM Corporation 1990, 2010