Table 139 YKWATCH Command Return Code List
(continued)
Meaning
Return Code
Terminating due to invalid processing.
44
Terminating due to invalid parameters.
48
YKWTOMSG Command
Format
When outputting a single line message
YKWTOMSG(type,text)
When outputting a multiline message
YKWTOMSG(type,
text-1,
text-2
[,text-3]
[,text-4]
[,text-5]
[,text-6]
[,text-7]
[,text-8]
[,text-9]
[,text-10])
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.
262 CLI Commands
Summary of Contents for P9000
Page 302: ...YKDEMO12 302 CLI Commands ...