HP P9000 Business Continuity Manager Reference Guide (T5253-96058, September 2011)

Table Of Contents
Function
This is a REXX function that is called from within a REXX script.
This command outputs the specified message ID and message text to the OS console.
Parameters
type
Specify the type of message to be output. The message is output by using the destination indicating
a code that corresponds to the specified type. Specify one of the following types:
I
Specify this for a message that reports information. The message is output in by using the
destination indicating code 11.
W
Specify this for a warning message. The message is output by using the destination indicating
code 6.
E
An error message. The message is output by using the destination indicating code 6.
text ~ <string of 125 or fewer characters>
Use this parameter when you want to output a single line message. For this parameter, specify the
message ID and message text of the message that you want to output.
text-1 ~ <string of 34 or fewer characters>
Use this parameter when you want to output a multi-line message. For this parameter, specify the
message ID and the first line of the text of the message that you want to output.
text-2 ~ <string of 70 or fewer characters>
Use this parameter when you want to output a multi-line message. For this parameter, specify the
second line of the text that you want to output.
text-3 through text-10 ~ <string of 70 or fewer characters>
Use these parameters when you want to output more than two lines for a message. The specification
method is the same as for the text-2 parameter.
NOTE: For a multiline message, the message text can be output to a maximum of 10 lines.
Return codes
Table 140 (page 259) lists the return codes to be returned when the YKWTOMSG command
terminates.
Table 140 YKWTOMSG Command Return Code List
MeaningReturn code
The command completed normally.0
No type has been specified.1004
The specified type is invalid.1008
No text has been specified.1012
The specified text is invalid.1016
Command details 259