Tony, I did this in assembler many years ago for the ZEKE Automatic Reply feature. It has been too many years to remember all the details but basically you search the ORE (Operator Reply Element) chain to find the task you want and extract the reply id from the ORE.
Chuck Arney Arney Computer Systems -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Tony Thigpen Sent: Tuesday, February 11, 2020 7:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Finding and replying to outstanding reply We have an in-house written automated shutdown program that does everything but shutdown NPF. That is because NPF leaves an open reply message during start-up to which I must replay xx,STOP to make it shutdown. Within our shutdown program, I would like it to programmatically find the outstanding reply number so that it can issue the correct response. Can someone point me to any doc or examples that will help me get started on this? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN