What is in mtxt? You display it with a say statement but didn't include the 
output in your query. Is it pssible that it include an apostrophe/


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
saurabh khandelwal <[email protected]>
Sent: Friday, June 8, 2018 6:36 AM
To: [email protected]
Subject: MVS send command in REXX

Hello Group,

In this below REXX,  I want to send message only to operator AG54 but, not
sure why this send command sending message to all users in system , not
only AG54.

I checked syntax for this send command but result is same,





EDIT       NETVIEW.CNMCLST(FAIREXX1) - 01.14

****** ***************************** Top of Data ********

000100 /*  REXX     */

000120 parse arg mtxt . mtxt

000240 say 'AG54LST Job STARTED at' mtxt

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

000600 exit

****** **************************** Bottom of Data ******

Can you please help.

----------------------------------------------------------------------
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