Hello All,
We have requirement of displaying dataset name to operator console upon
receiving SVTM052I msg id like below.
SVTM052I message is a multiline message, so the message is 1 message of 4
lines.
In the automationtable you can just code:
IF MSGID = 'SVTM052I' THEN
EXEC(CMD('FIBREXX')) NETLOG(Y) SYSLOG(Y);
In your rexx you can retrieve the full messge via:
'PIPE SAFE * | STEM MSG.'
Stem variable Msg.1 to Msg.4 will contain all 4 lines of the SVTM052I
message.
So if you would want the TO-dataset, then you could take the 3th word of
Msg.3:
TODataset = Word( Msg.3,3 )
mvs "send 'FIB DATASET NAME IS "TODataset"',CON=CNDVMSTR"
Now, my problem is, once these dataset name getting displayed on operator
console. He is over looking it because as soon as other message comes, this
dataset message scroll up and then eventually disappear from screen.
My requirement is, once this dataset message display on operator console,
it should be there and should not be scroll up with other message until
operator press enter on that message which is indication of the looked at
this dataset for further processing.
I hope, i am able to explain my requirement. Thank you all for reply.
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
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN