| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change ASP Activity (CHGASPACT) command can be used to:
An ASP may be suspended in order to facilitate vary on after performing a flash copy or geographic mirror detach followed by a vary on. The vary on will go through recovery steps that will rollback incomplete transactions, rebuild access paths, update database records of journaled files and take other recovery actions. Switchover has tracking of changes that occur while the switch is in progress.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| ASPDEV | ASP device | Name, *SYSBAS | Required, Positional 1 |
| OPTION | Option | *SUSPEND, *RESUME, *FRCWRT | Required, Positional 2 |
| SSPTIMO | Suspend timeout | Integer | Optional |
| SSPTIMOACN | Suspend timeout action | *CONT, *END | Optional |
| Top |
Specifies the auxiliary storage pool (ASP) device on which the command is to operate.
This is a required parameter.
| Top |
Specifies the option to perform. This is a required parameter.
| Top |
Specifies the timeout value for suspend operations.
Note: This is a required parameter if OPTION(*SUSPEND) is specified. This parameter is ignored if any other OPTION value is specified. Note that suspend continues even after the timeout expires. The timeout is the maximum amount of time before the command completes.
| Top |
Specifies the action to take if the suspend timeout value specified for the SSPTIMO parameter is reached.
| Top |
Example 1: Suspend Activity for System and Basic User ASPs
CHGASPACT ASPDEV(*SYSBAS) OPTION(*SUSPEND)
SSPTIMO(30) SSPTIMOACN(*CONT)
This command suspends activity to the system auxiliary storage pool (ASP) and any configured basic user ASPs, and allows the suspend to continue if the quiesce was unable to complete within 30 seconds.
Example 2: Resume Activity to Suspended System and Basic User ASPs
CHGASPACT ASPDEV(*SYSBAS) OPTION(*RESUME)
This command resumes activity to previously-suspended system ASP and configured basic user ASPs.
Example 3: Suspend Activity to an Independent ASP
CHGASPACT ASPDEV(MYASP) OPTION(*SUSPEND)
SSPTIMO(60) SSPTIMOACN(*END)
This command suspends activity to the independent ASP associated with ASP device MYASP. If the independent ASP cannot be quiesced within 60 seconds, the suspend request is ended.
Example 4: Force Independent ASP Changed Pages From Main Memory to Disk
CHGASPACT ASPDEV(MYASP) OPTION(*FRCWRT)
This command forces all changed pages for independent ASP MYASP to be written to disk.
| Top |
*ESCAPE Messages
| Top |