End Disk Reorganization (ENDDSKRGZ)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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 is sent to the system history (QHST) log when the reorganization function is ended for each ASP.

Restriction: You must have *ALLOBJ special authority to use this command.

Top

Parameters

Keyword Description Choices Notes
ASP ASP number Single values: *ALL
Other values (up to 32 repetitions): 1-32
Optional, Positional 1
ASPDEV ASP device Values (up to 32 repetitions): Name, *ALLAVL Optional
Top

Auxiliary storage pool ID (ASP)

Specifies for which auxiliary storage pools 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.
Top

ASP device (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.
Top

Examples

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.

Top

Error messages

*ESCAPE Messages

CPF1889
Disk reorganization not active for ASP &1
CPF1890
*ALLOBJ authority required for requested operation.
Top