CL Command Reference - STRDSKRGZ
CL Command List > STRDSKRGZ Reference
Description:
The Start Disk Reorganization (STRDSKRGZ) command allows the user to start the disk reorganization function for one or more auxiliary storage pools (ASPs). The user specifies a time limit that the function is to run for each ASP being reorganized. A message will be sent to the system history (QHST) log when the reorganization function is started for each ASP.
Unused space will be collected together within the ASP. This allows future large disk allocations to be done more efficiently.
Restriction: You must have *ALLOBJ special authority to use this command.
Examples:
Example 1: Starting Disk Reorganization for ASP 1
STRDSKRGZ ASP(1) TIMLMT(*NOMAX)
This command allows the user to start the disk reorganization function for ASP 1. The reorganization function will run until the ASP has been reorganized or it is ended through the ENDDSKRGZ command.
Example 2: Starting Disk Reorganization with a Time Limit
STRDSKRGZ ASP(*ALL) TIMLMT(60)
This command allows the user to start the disk reorganization function for each ASP on the system. Each reorganization function will have a time limit of sixty minutes. After sixty minutes, any reorganization functions which have not completed will be ended.
Example 3: Starting Disk Reorganization for an ASP Device
STRDSKRGZ ASPDEV(MYASP1) TIMLMT(*NOMAX)
This command allows the user to start the disk reorganization function for ASP device MYASP1. The reorganization function will run until the ASP has been reorganized or it is ended through the ENDDSKRGZ command.