 |
PurposeYou can use the CHANGE SPACE command
to change the following values for data sets: - Amount of primary space
- Amount of secondary space
- Number of directory blocks needed (only for partitioned data sets).
Syntax
CHANGE SPACE
>>-+-CHANGE-+--+-SPACE-+--+-primary-+--------------------------->
'-CH-----' +-SP----+ '-*-------'
'-S-----'
>--+------------------------------+----------------------------><
'-+-secondary-+--+-----------+-'
'-*---------' '-dirblocks-'
Parameters- primary
- Specifies the percentage by which to increase or decrease the
current primary space value. The following values are valid:
- To increase the space, specify an integer from +1 through +100
(the prefixed plus sign is optional).
- To decrease the space, specify an integer from -1 through -50
(the prefixed minus sign is required).
- To leave the primary space unchanged while changing other space
values, specify an asterisk (*).
- secondary
- Specifies the percentage by which to increase or decrease the
current secondary space value, or specifies a fixed percentage of
primary space on which to base the amount of secondary space. The
following values are valid:
- To increase the space, specify an integer from +1 through +100
(the prefixed plus sign is optional).
- To decrease the space, specify an integer from -1 through -50
(the prefixed minus sign is required).
- To define the amount of secondary space as a percentage of primary
space, specify an integer from P0 through P100 (the prefixed P is
required). This amount is based on the current primary space value
and will not be recalculated if the primary space is later changed.
- To
set secondary space to zero, specify P0.
- To leave the secondary space unchanged while changing other space
values, specify an asterisk (*).
IBM recommends increasing the primary space allocation when you
use P0.
- dirblocks
- Specifies the percentage by which to increase or decrease the
current number of directory blocks. The following values are valid:
- To increase the space, specify an integer from +1 through +100
(the prefixed plus sign is optional).
- To decrease the space, specify an integer from -1 through -50
(the prefixed minus sign is required).
Restrictions- For IBM-supplied data sets, you cannot decrease the primary space
allocation to less than the original, shipped amount. If you attempt
to do so, the dialog uses the shipped amount instead.
- For user-defined data sets, you cannot decrease the primary space
allocation to less than it was when you first defined it. You can
increase the amount, but you cannot reduce it unless you delete the
data set and redefine it with a smaller space allocation.
- If the shipped secondary space allocation for a data set is zero,
it means that secondary space is not allowed for the data set. This
allocation must remain at zero.
- You cannot decrease the number of directory blocks for a data
set to a value that is less than its original, shipped value. If you
attempt to do so, the dialog uses the shipped value instead.
ExamplesTo increase primary space 25 percent,
enter: CH S 25 (or CH S +25 )
To
increase the secondary space by 20 percent, enter: CH S * 20 (or CH S * +20)
To remove
the secondary space altogether (for example, for link list eligible
data sets), enter the following command: CH S * P0
Assume
that for all data sets in the current display list, you want to increase
the number of directory blocks by 40 percent. Enter the following
command: CH S * * 40
Assume that for
all data sets in the current display list, you want to increase the
primary space by 20 percent and the secondary space by 50 percent.
Enter the following command: CH S 20 50 (or CH S +20 +50)
Assume
that for all data sets in the current display list, you want to decrease
the primary space by 10 percent and increase the secondary space by
25 percent. Enter the following command: CH SPACE -10 25 (or CH S -10 +25)
Assume
that for all data sets in the current display list, you want to decrease
the primary space by 15 percent and set the secondary space to 40
percent of the primary space amount. Enter the following command: CH SP -15 P40
Assume
that for all data sets in the current display list, you want to set
the secondary space to 30 percent of the primary space amount. Enter
the following command: CH S * P30
|