Download Print this page

HP XP P9500 Reference Manual page 271

Hp p9000 for business continuity manager software reference guide
Hide thumbs Also See for XP P9500:

Advertisement

* STEM parameter.
* The following code shows one way to use YKQRYDEV with SN, CU, and
* CCA parameters, such as follows:
*
"SN(12345) CU(10) CCA(20)"
*/
address TSO "YKQRYDEV STEM(DEMO_CDEVS.) SN(#####) CU(##) CCA(##)",
"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
nop;
/*
* Print the information in the command device in the secondary
* storage system.
*/
say "-------------------------------------";
say "CDEV(Secondary) DKC's SSID = " || DEMO_CDEVS.SSID;
say "CDEV(Secondary) is valid?
say "CDEV(Secondary) is status
say "CDEV(Secondary)'s APID
say "-------------------------------------";
/*
* Delete the command device in the secondary storage system.
* Note that the secondary command device is deleted first. This is
* because YKDELCMD command should be sent to the secondary site. If
* the primary command device was deleted first, there is no way for
* BC Manager to send the command to the secondary command device.
* The following code shows one way to use YKDELCMD with SN, CU, CCA
* and APID parameters, such as follows:
*
"SN(12345) CU(10) CCA(20) APID(5613)"
* Please note that if the route list is available, you do not actually
* have to specify CU, CCA and APID parameters.
*/
address TSO "YKDELCMD SN(#####) MSG(DEMO_MSG.) CU(##) CCA(##)",
"APID(####)";
/*
* Check the return code to see if it is 0 or not.
*/
if rc /= 0
then do
call printErrorMessage;
exit;
end;
else
nop;
/*
* Now delete the command device in the primary storage system. As
* in the previous YKDELCMD call, supply the appropriate values to
* SN, CU, CCA and APID parameters for the command device in the
* primary storage system.
* Please note that if the route list is available, you do not actually
* have to specify CU, CCA and APID parameters.
= " || DEMO_CDEVS.Cdev.Info;
= " || DEMO_CDEVS.Cdev.Status;
= " || DEMO_CDEVS.Cdev.APID;
Command details 271

Advertisement

loading

This manual is also suitable for:

P9000 for business continuity manager 6.6.1