at that moment. If the status is the same as the one specified in the
GOTO
parameter, the command
terminates normally (return code =
0
). If not, it terminates abnormally with the return code
4
.
If
0
is specified in
TIMEOUT
parameter, it looks at the status of the copy group immediately, and
then returns as described previously.
For CG containers specified by EXCTG ID, if this time value elapses before all journal groups are
registered in EXCTG, the
YKZ298W
message is output and the
YKEWAIT
command terminates
abnormally with return code 4. If the
YKZ298W
message is output, the REXX variable is disabled
(the same state as before the
YKEWAIT
command was executed).
NOINVALIDCHECK
Processing continues even when the status changes to anything other than the status specified by
the
GOTO
parameter (invalid statuses). If this parameter is specified, and the status does not change
to that specified in the
GOTO
parameter, command processing will continue until the timeout time
specified in the
TIMEOUT
parameter is reached.
The invalid statuses in
Table 112 (page 211)
differ depending on the value specified in the
GOTO
parameter. The table shows an invalid status for each value specifiable in the
GOTO
parameter.
Table 112 Invalid Status for Each Value Specifiable in the GOTO Parameter
Invalid Statuses
Value of
GOTO
Parameter
SIMPLEX
,
SUSPCU
,
SUSPER
,
TRANS
,
SUSPVS
,
HOLDER
,
NODELTA
,
CONSLOST
, or
INVALID
DUPLEX
SIMPLEX
,
SUSPER
,
SUSPCU
,
HOLD
,
HOLDER
,
HOLDTRNS
,
NODELTA
,
CONSLOST
, or
INVALID
statuses.
SUSPEND
SUSPER
,
SUSPCU
,
HOLDER
,
CONSLOST
, or
INVALID
statuses.
SIMPLEX
SUSPER
,
SIMPLEX
,
SUSPCU
,
HOLD
,
HOLDER
,
HOLDTRNS
,
NODELTA
,
CONSLOST
, or
INVALID
statuses.
SUSPVS
SIMPLEX
,
SUSPER
,
SUSPCU
,
HOLDER
,
NODELTA
, or
INVALID
statuses.
HOLD
SIMPLEX
,
HOLD
,
HOLDER
,
HOLDTRNS
,
NODELTA
,
CONSLOST
, or
INVALID
statuses.
SWAPPING
When the command waits for copy pairs in the CG container specified by EXCTG ID to reach
DUPLEX status, it first waits for all journal groups in the CG container specified by EXCTG ID to
be registered in EXCTG. If an error is detected during EXCTG registration, the
YKZ297E
message
is output and the command terminates abnormally with return code
44
.
When the command monitors the status of a copy pair in an BC copy group to which the CAJ
ATTIME suspend time has been set, the check operation differs depending on whether the
NOINVALIDCHECK
parameter is specified:
•
If the
NOINVALIDCHECK
parameter is not specified
The status of the CAJ copy pair at the time of BC copy pair suspension will be checked. If an
error is detected, the
YKZ407E
message,
YKZ408E
message, or
YKZ409E
message is output
and the command terminates abnormally with return code
24
.
•
If the
NOINVALIDCHECK
parameter is specified
The status of the CAJ copy pair at the time of BC copy pair suspension will not be checked.
DEVN(
p-vol-device-number,s-vol-device-number
)
~ <4-digit hexadecimal number, 4-digit
hexadecimal number>
Specify the device number of the copy pair (P-VOL and S-VOL) to operate.
Command details
211
Содержание P9000
Страница 302: ...YKDEMO12 302 CLI Commands ...