You can use SDSF REXX to do this quite easily.

The  " ISFEXEC SR" verb will return the list of outstanding system replies (no 
need to issue and parse "D R,R").

You can then loop thru the returned logical rows to locate the prompt that you 
are searching for and then use "ISFSLASH" to send back the response.

Obviously you will need the associated SDSF and z/OS permissions to do this.

For more info, see the SDSF manuals for information on using SDSF REXX (or have 
a look at various Share presentations on this subject).

Rob Scott
Rocket Software

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
ibmmain
Sent: 29 April 2021 14:23
To: [email protected]
Subject: how to reply highlight message by REXX

EXTERNAL EMAIL





Hi all&nbsp;


&nbsp; After we submit a JOB, we need reply highlight message issued by the JOB 
in console.


&nbsp;Could you tell us how to issue ' D R,R' command to get reply-ID and reply 
this message by REXX?


&nbsp; Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

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

Reply via email to