ENDDSKRGZ (End Disk Reorganization)
ENDDSKRGZ Command syntax diagram
Purpose
The End Disk Reorganization (ENDDSKRGZ) command allows the user to end the disk reorganization function started using the Start Disk Reorganization (STRDSKRGZ) CL command. The user can select to end disk reorganization for all auxiliary storage pools (ASPs) or for one or more specific ASPs. A message will be sent to the system history (QHST) log when the reorganization function is ended for each ASP.
Restrictions
You must have *ALLOBJ special authority to use this command.
Optional Parameters
- ASP
- Specifies for which auxiliary storage pool (ASP) the disk reorganization function is to be ended. A value must be specified for the ASP parameter or the ASPDEV parameter.
*ALL: Disk reorganization will be ended for the system ASP (ASP number 1) and all basic ASPs (ASP numbers 2-32) defined to the system.
auxiliary-storage-pool-number: Specify the ASP for which disk reorganization is to be ended. Valid ASP numbers are 1 to 32. Up to 32 ASP numbers may be specified.
- ASPDEV
- Specifies the name of the auxiliary storage pool (ASP) device for which the disk reorganization is to be ended. A value must be specified for the ASP parameter or the ASPDEV parameter.
*ALLAVL: Disk reorganization will be ended for all ASP devices that currently have a status of 'Available'.
auxiliary-storage-device-name: Specify the name of the independent ASP device for which disk reorganization is to be ended. Up to 32 ASP device names may be specified.
Examples for ENDDSKRGZ
Example 1: Ending Disk Reorganization for ASP 1
ENDDSKRGZ ASP(1)This command allows the user to end the disk reorganization function for ASP 1.
Example 2: Ending Disk Reorganization for all ASPs
ENDDSKRGZ ASP(*ALL)This command allows the user to end the reorganization function for each ASP that is currently being reorganized.
Example 3: Ending Disk Reorganization for all ASP Devices
ENDDSKRGZ ASPDEV(*ALLAVL)This command allows the user to end the reorganization function for each ASP device that is currently being reorganized.
Error messages for ENDDSKRGZ.
- CPF1889
- Disk reorganization not active for ASP &2.
- CPF1890
- *ALLOBJ authority required for requested operation.