Does the contents of "mtxt" happen to have a parentheses ["(" or ")"]?  Several 
years ago, I worked at a shop that we maintained the broadcast messages, this 
was a multiple send situation, but might be applicable, but if one line had a 
"(" in it and with the closing ")" on the next line, it would totally mess up 
and we had to rework the message so that both "(" and ")" were on the same send 
command to work.

Don't know if that is your problem, but thought I would put that out there.

Al Nims
Systems Admin/Programmer III
UF Information Technology
East Campus 
P.O. Box 112050
Gainesville, FL. 32611
(e) [email protected] 
(p) (352) 273-1298

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of saurabh khandelwal
Sent: Saturday, June 09, 2018 12:27 AM
To: [email protected]
Subject: Re: MVS send command in REXX

Hello,

Thanks for reply.

below command doesn't work. After changing

mvs "send 'AG54LST JOB "mtxt"' user(AG54) now"

to

mvs "send 'AG54LST JOB "mtxt"',user(AG54),now"

I stopped getting any notification as i was getting on any system.

Is there any other syntax for this command .


here mtxt is notthing but a tapped message from syslog , we tried to capture 
using netview and we should like to display it to particular tso user when even 
triger.

but instead , it was displaying it to all users. I am unable to find correct 
way to isolate this issue.

On Fri, Jun 8, 2018 at 1:52 PM, Elardus Engelbrecht < 
[email protected]> wrote:

> saurabh khandelwal wrote:
>
> >000120 parse arg mtxt . mtxt
>
> How long is that mtxt? If it is too long, the rest of the message 
> command will be trimmed off.
>
>
> >000500 mvs "send 'AG54LST JOB "mtxt"' user(AG54) now"
>
> Change above to this (replacing two spaces with two commas):
>
>  mvs "send 'AG54LST JOB "mtxt"',user(AG54),now"
>
> Look up SEND for specific message  receivers in
>
>    
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ibm.com_suppo
> rt_knowledgecenter_SSLTBW-5F2.2.0_&d=DwIBaQ&c=pZJPUDQ3SB9JplYbifm4nt2l
> EVG5pWx2KikqINpWlZM&r=0Ef64GJS77DVfhr5GGKZeQ&m=ChEpTjtAfIGIeIguFdpbIOZ
> 9it2jm0UHEzW4CP3CBJc&s=MRuaj8EZbz1UR_mOmI804GVPybeqMi6oXDIJ1JYv1z4&e=
> com.ibm.zos.v2r2.ieag100/s1mess1.htm
>
>
> Disclaimer - I am not a NETVIEW expert anymore...
>
> So, you, not me, need to double check all those ' and " are properly 
> balanced.
>
> Groete / Greetings
> Elardus Engelbrecht
>
> ----------------------------------------------------------------------
> 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

Reply via email to