z/OS DFSMSrmm Diagnosis Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


When there is not enough available storage to list all the volumes

z/OS DFSMSrmm Diagnosis Guide
SC23-6876-00

When you request information using the DFSMSrmm commands using REXX EXECs or using the DFSMSrmm ISPF dialog, there might not be enough storage available to list all the volumes that match your criteria. This problem can occur when you use any SEARCH command, but is most likely to occur when you use the RMM SEARCHVOLUME subcommand.

For example, if you want to obtain information about all the volumes in MASTER status for any owner, issue this command to obtain a list of volumes:
RMM SEARCHVOLUME VOLUME(*) LIMIT(*) STATUS(MASTER) OWNER(*)  
You can also use the SEARCHVOLUME dialog to obtain the information. If you issued the request using the DFSMSrmm ISPF dialog, DFSMSrmm issues the message:
 "More volumes may exist".
When you press PF1 for more help, DFSMSrmm issues the message:
"There is not enough storage available to list all the volumes".

In this example, DFSMSrmm cannot list all the volumes and issues return code 4 and reason code 10 due to a TSO restriction resulting from the use of storage below 16 MB. The actual number of records that DFSMSrmm returns is dependent on the amount of storage that is available to TSO for storing REXX variables and maintaining the index of variables. You can use the VARSTORAGE(HIGH) option of the TSO PROFILE to enable TSO to use storage above 16MB. Although this option does allow more storage to be used, and DFSMSrmm does still attempt to handle out-of-storage conditions, when you issue the RMM SEARCH subcommands and very large lists are required, you may encounter various storage related problems. For additional information about the TSO PROFILE VARSTORAGE option, see z/OS TSO/E Command Reference.

If you experience this situation, you can issue RMM SEARCH requests using the CONTINUE operand with the LIMIT operand set to a number that keeps the number of returned resources within the storage restriction. After you issue the first request, issue another request to obtain the next set of resources using the returned continue information, staying within the storage limits. For example, you can obtain the next range by noting the continue information returned. Then issue a new SEARCH request, specifying CONTINUE(continue_information).

For the first command specify you want to continue:
RMM SEARCHVOLUME VOLUME(*) CONTINUE STATUS(MASTER) OWNER(*)
then note the continue_information issued at the end of the volume list by message EDG3025I (for example, EDG3025I VOLUME('A16011')) and issue the next command:
RMM SEARCHVOLUME VOLUME(*) CONTINUE(A16011) STATUS(MASTER) OWNER(*)

Repeat this until all volumes are returned.

Related reading: For information about using the RMM TSO subcommands and the DFSMSrmm ISPF dialog, see z/OS DFSMSrmm Managing and Using Removable Media.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014