When you use the FCESTABL command to establish FlashCopy® SE relationships, you can maintain data consistency by using the ACTION parameter to suspend write operations to S-VOLs.
The ACTION parameter is described in the following table.
|
Parameter |
Value |
Description |
|---|---|---|
|
ACTION |
FREEZE |
Suspends write operations from the host to S-VOLs. If you establish a relationship and specify extents, the ACTION parameter suspends write operations to the volume. |
The following example shows how to use the FCESTABL command to suspend write operations to an S-VOL when you establish a FlashCopy® SE relationship. In this example, the FCESTABL command creates a relationship between devices 4202 and 4203, and at the same time suspends write operations from the host to the source device numbered 4202.
FCESTABL SDEVN(X'4202') TDEVN(X'4203') ACTION(FREEZE) SETGTOK(YES) MODE(NOCOPY)
To resume writing to S-VOLs, issue the FCWITHDR command with the ACTION parameter specified.
If a timeout occurs before you issue the FCWITHDR command, write operations resume. The default setting for the timeout is 120 seconds (2 minutes).