Manual restart of primary space management or secondary space management

You can restart primary space management or secondary space management from where it was interrupted if it did not complete and if the current time is still within the processing window. The planned start time is when primary space management or secondary space management last planned to start from the beginning.

When the current time is in the processing window

If primary space management or secondary space management does not restart automatically and the current time is still in the processing window, use one of the following commands to restart primary space management or secondary space management:
  • If primary space management or secondary space management was held, issue the RELEASE MIGRATION(AUTO) command.
  • If DFSMShsm was in emergency mode, issue the SETSYS NOEMERGENCY command.

When the current time is not in the processing window

  • Primary space management:

    If the current time is after the ending time, redefine an expanded processing window using the SETSYS PRIMARYSPMGMTSTART(old-planned,new-end) command. In the command, old-planned is the previous planned start time; new-end is a value greater than the current time. This command causes primary space management to restart. If you enter a value for a planned start time that is earlier than the previous planned start time, DFSMShsm also considers the request to be for an expansion of the existing processing window.

    If you enter a value for the planned start time that is later than the previous planned start time, DFSMShsm considers the request to be for a new processing window, and the restart is not possible. When primary space management next runs, it will start from the beginning.

  • Secondary space management:

    If the current time is after the ending time, redefine an expanded processing window using the SETSYS SECONDARYSPMGMTSTART(old-planned,new-end) command. In the command, old-planned is the previous planned start time; new-end is a value greater than the current time. This command causes secondary space management to restart.

    If you enter a value for the planned start time that is different than the previous planned start time, DFSMShsm considers the request to be for a new processing window, and a resumption from the point of interruption is not done. When secondary space management next runs, it will start from the beginning.

Where primary space management or secondary space management restarts

  • Primary space management:

    DFSMShsm records which volumes were processed during primary space management, so it will not attempt to process them again when it is restarted.

  • Secondary space management:
    If your installation is not using secondary host promotion, and secondary space management functions restart (without changing the planned-start time), they resume their work at approximately the point of interruption. They complete the work that would have run if the interruption had not occurred, or they continue until the ending time has been reached. If your installation is using secondary host promotion, and the promotion occurs during a secondary space management window, and the window is not past the latest time to start (as defined on the primary host), then the promoted host takes over from approximately where the original host left off.
    Note: Secondary space management consists of two level functions, migration level cleanup and level 1 to level 2 migration. A restart occurs in whichever was interrupted.