call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Resynchronize all suspended copy pairs in MYTCS copy group.
* Use SELECT(COND) parameter to let YKRESYNC skip copy pairs which
* are already DUPLEX.
* Just like YKSUSPND, it is recommended to explicitly specify
* FORWARD/REVERSE parameter.
*/
address TSO "YKRESYNC STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)",
"FORWARD";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Wait until all copy pairs in MYTCS copy group become DUPLEX.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(DUPLEX)",
"TIMEOUT(30)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Dissolve all copy pairs in MYTCS copy group, putting them back to
* SIMPLEX status.
*/
address TSO "YKDELETE STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
268 CLI Commands
Содержание P9000
Страница 302: ...YKDEMO12 302 CLI Commands ...