Ktwtomsg – HP XP Command View Advanced Edition Software User Manual
Page 167
KTWTOMSG
Function
Outputs the specified message ID and message text to the console.
Command type
REXX external routine
Format
To output a single-line message:
KTWTOMSG
1
type,text
To output a multi-line message:
KTWTOMSG
1
type,text-1,text-2[,text-3][,text-4][,text-5]
[,text-6][,text-7][,text-8][,text-9][,text-10]
Parameters
type
Specify one of the values shown below as the type of the message to be output. The message
will be output with the routing code appropriate for the specified type.
•
I
Specify this for a message that reports information. The message will be output with routing
code 11.
•
W
Specify this for a warning message. The message will be output with routing code 6.
•
E
Specify this for an error message. The message will be output with routing code 6.
text
~<125 or fewer characters>
Specify this parameter to output a single-line message. Specify the message ID and message text
to be output.
text-1
~<34 or fewer characters>
Specify this parameter to output a multi-line message. Specify the message ID and the first line of
the message text to be output.
text-2
~<70 or fewer characters>
Specify this parameter to output a multi-line message. Specify the second line of the message text
to be output.
text-3 to text-10
~<70 or fewer characters>
Specify this parameter to output a message consisting of three or more lines. The specification
method is the same as for the
text-2
parameter.
User Guide
167