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. On Sat, Jun 23, 2018 at 7:35 AM, saurabh khandelwal < [email protected]> wrote: > Hello Steve, > In below example, how do we make sure which console, this output should > go. Don't we need to put console name in this rexx and will i be getting > these message in white color or red color. to operator console. > > > /* REXX */ > 'PIPE SAFE * | STEM MSG.' > TODataset = Word( Msg.3,3 ) > WTO.CONSNAME = ' ' > WTO.DESC = '0010000000100000' /* RED */ > WTO.DESC = '0100010000000000' /* WHITE */ > WTO.MCSFLAG = '00000000' > WTO.TEXT = 'OPSMSG01 FIB DATASET NAME IS' TODataset > WTO. > EXIT > > > > On Sat, Jun 23, 2018 at 3:35 AM, Steve Horein <[email protected]> > wrote: > >> /* REXX */ >> 'PIPE SAFE * | STEM MSG.' >> TODataset = Word( Msg.3,3 ) >> WTO.CONSNAME = ' ' >> WTO.DESC = '0010000000100000' /* RED */ >> WTO.DESC = '0100010000000000' /* WHITE */ >> WTO.MCSFLAG = '00000000' >> WTO.TEXT = 'OPSMSG01 FIB DATASET NAME IS' TODataset >> WTO. >> EXIT >> >> On Fri, Jun 22, 2018 at 1:15 PM saurabh khandelwal < >> [email protected]> wrote: >> >> > Thanks for reply. >> > >> > I looked at netview command manual and found "WTO.TEXT" can be used for >> > this purpose. But I am not sure, how do I incorporate this into this >> case. >> > >> > Netview table code. >> > >> > IF MSGID = 'SVTM052I' THEN >> > EXEC(CMD('FIBREXX')) NETLOG(Y) SYSLOG(Y); >> > >> > >> > >> > In our rexx we retrieve the full messge via: >> > >> > /* REXX */ >> > >> > 'PIPE SAFE * | STEM MSG.' >> > >> > TODataset = Word( Msg.3,3 ) >> > mvs "send 'FIB DATASET NAME IS "TODataset"',CON=CNDVMSTR" >> > >> > in this rexx, where do I need to add WTO.TEXT to display TODataset as >> WTO >> > message on operator console. >> > >> > Can anybody suggest to implement this change. >> > >> > >> > >> > On Fri, Jun 22, 2018 at 5:15 PM, Lucas Rosalen <[email protected] >> > >> > wrote: >> > >> > > Right tool for the right job. >> > > >> > > Read about WTO (REXX) command in Netview commands manual. >> > > >> > > ------------------------------------------------------------ >> > > ------------------------------------------------------------------- >> > > *Lucas Rosalen* >> > > [email protected] / [email protected] >> > > http://br.linkedin.com/in/lrosalen >> > > >> > > >> > > 2018-06-22 6:31 GMT+02:00 saurabh khandelwal < >> [email protected] >> > >: >> > > >> > > > Hello Group, >> > > > >> > > > >> > > > /* REXX */ >> > > > >> > > > 'PIPE SAFE * | STEM MSG.' >> > > > >> > > > >> > > > >> > > > TODataset = Word( Msg.3,3 ) >> > > > >> > > > mvs "send 'My console name is "TODataset"',CN=CNDVMSTR" >> > > > >> > > > exit >> > > > >> > > > >> > > > We used CN operand with send command to send message to operator >> > console >> > > > and now i receive output as required. >> > > > >> > > > But this message is visible in green color which get disappeared as >> > other >> > > > message comes on console. >> > > > >> > > > But, I would like to have these message in white color ( not sure >> if we >> > > can >> > > > say as WTO), so that until operator intervention, these message >> will be >> > > on >> > > > console itself. >> > > > >> > > > >> > > > Can you please suggest, how can i achieve this >> > > > >> > > > ------------------------------------------------------------ >> ---------- >> > > > For IBM-MAIN subscribe / signoff / archive access instructions, >> > > > send email to [email protected] with the message: INFO >> IBM-MAIN >> > > > >> > > >> > > ------------------------------------------------------------ >> ---------- >> > > For IBM-MAIN subscribe / signoff / archive access instructions, >> > > send email to [email protected] with the message: INFO >> IBM-MAIN >> > > >> > >> > >> > >> > -- >> > Thanks & Regards >> > Saurabh Khandelwal >> > >> > ---------------------------------------------------------------------- >> > For IBM-MAIN subscribe / signoff / archive access instructions, >> > send email to [email protected] with the message: INFO IBM-MAIN >> > >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO IBM-MAIN >> > > > > -- > Thanks & Regards > Saurabh Khandelwal > -- Thanks & Regards Saurabh Khandelwal ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
