Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Extending the current size of a data space z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
When you create a data space and specify an initial size smaller than the maximum size, you can use DSPSERV EXTEND to increase the current size as your program uses more storage in the data space. The BLOCKS parameter specifies the amount of storage you want to add to the current size of the data space. The system increases the data space by the amount you specify,
unless that amount would cause the system to exceed one of the following:
If one of those limits would be exceeded, the VAR parameter tells
the system how to satisfy the EXTEND request.
Consider the data space in Figure 1, where the current
(and initial) size is 20,000 bytes and the maximum size is 100,000
bytes. To increase the current size to 50,000 bytes, adding 30,000
bytes to the current size, the creating program would code the following:
The storage the program can use would then be 50,000 bytes, as shown in Figure 1. Figure 1. Example of Extending the Current Size of a Data Space
If you use VAR=YES when you issue the EXTEND request, use NUMBLKS to find out the size by which the system extended the data space. |
Copyright IBM Corporation 1990, 2014
|