EasyManuals Logo

HP StorageWorks P9000 Reference Guide

HP StorageWorks P9000
399 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #298 background imageLoading...
Page #298 background image
* the status of MYUR2 to HOLD.
*/
address TSO "YKRESYNC STEM(DEMO_INFO.MYUR1.) MSG(DEMO_MSG.)",
"DELTAJNL"
/*
* Check the return code of YKRESYNC.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
/*
* Wait for completion of copying from the primary site to
* the remote site.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.MYUR1.) MSG(DEMO_MSG.)",
"GOTO(DUPLEX) TIMEOUT(30)"
/*
* Check the return code of YKEWAIT.
*/
if rc /= 0
then do
call printErrorMessage
exit
end
else
nop
say "#-- END YKDEMO09."
exit
/*
* printErrorMessage: This procedure prints all of the error messages
* in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
do x = 1 to DEMO_MSG.0
say "Severity = " || DEMO_MSG.x.Severity
say "Text = " || DEMO_MSG.x.Text
say "Value = " || DEMO_MSG.x.Value
end
return 0
YKDEMO10
/* REXX */
/**********************************************************************/
/* */
/* All Rights Reserved. Copyright (C) 2009, 2010, Hitachi, Ltd. */
/* */
/**********************************************************************/
/* */
/* YKDEMO10 is a sample demonstration script of YKWTOMSG. */
/* Using YKWTOMSG, a REXX script can pass a string to another script */
/* through a MCS console. */
/* */
298 CLI Commands

Table of Contents

Other manuals for HP StorageWorks P9000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP StorageWorks P9000 and is the answer not in the manual?

HP StorageWorks P9000 Specifications

General IconGeneral
BrandHP
ModelStorageWorks P9000
CategoryStorage
LanguageEnglish

Related product manuals