On Sat, 23 Jun 2018 11:16:15 +0300, saurabh khandelwal 
<[email protected]> wrote:

>Hello,
>
>I trigger event and below rexx should have been executed
>
>/*  REXX     */
>
>parse arg mtxt . mtxt
>
>WTO.CONSNAME = 'CNDVMSTR'
>
>WTO.DESC = '0100010000000000'    /* WHITE */
>
>WTO.DESC = '0010000000100000'    /* RED   */
>
>WTO.MCSFLAG  = '00000000'
>
>WTO.TEXT =  'CONSOLE TEST MSG IS' mtxt
>
>WTO.
>
>exit
>
>But, I checked with operator and they didn't receive any message on their
>console.  Are we missing anything in this.

Remove the period from the last WTO before the EXIT.  "WTO" is a command, 
"WTO." is not a command.

A simple Google search for NETVIEW WTO found this as the first entry:  
https://www.ibm.com/support/knowledgecenter/en/SSZJDU_5.3.0/com.ibm.itnetviewforzos.doc_5.3/dqcl2ms2171.htm

Not sure if the NETVIEW manuals document what the DESC and MCSFLAG settings 
are.  They are documented in the WTO MACRO definition:  
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/iea3a4_Description14.htm

WTO.DESC is a variable that will be read by the WTO command.  Since you have 
two of them in your REXX program, only the last one set will be used.  In the 
description for WTO.DESC, it shows that you can code it as decimal numbers 
instead of binary, which would be more readable!

Instead of coding WTO.DESC = '0100010000000000' you could code WTO.DESC = 
'(2,6)'.  2 and 6 mean "Immediate Action Required" and "Job Status".  I don't 
know if that means the message will be displayed in "white".

Instead of coding WTO.DESC = '0010000000100000'  you could code WTO.DESC = 
'(3,11)'.  3 and 11 mean "Eventual Action Required" and "Critical Eventual 
Action Required".  I don't know if that means the message will be displayed in 
"red".

Instead of coding WTO.MCSFLAG  = '00000000' you could code WTO.MCSFLAG = 
'(NOCPY)'

If you have not done so already, please download and read, (or read online),  
the NETVIEW manuals!

-- 
Dale R. Smith



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to