A nicer brute force might be. 01,STOP 02,STOP 03,STOP . . . 99,STOP
At this point it should be down and as long as no other reply would be accepting STOP as valid they should return with a new reply number. This will not be true if you have other automation that is not coded to reject and retry if an invalid response is received. Of course if you are coming down and this is close to the last item... Just a thought... If you have automation... issue D R,L and capture the responses and reply. On Tue, Feb 11, 2020 at 8:40 AM Pommier, Rex <rpomm...@sfgmembers.com> wrote: > I know this is brute force, but would it work to simply cancel NPF? > > Rex > > -----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: [External] 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? > > Some items: > The shutdown program is assembler. > I have SysREXX running with a valid MPF exit to call it. > I would prefer to do it all within the assembler program instead of using > MPF/SysREXX. > > Thoughts? > > -- > Tony Thigpen > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > The information contained in this message is confidential, protected from > disclosure and may be legally privileged. If the reader of this message is > not the intended recipient or an employee or agent responsible for > delivering this message to the intended recipient, you are hereby notified > that any disclosure, distribution, copying, or any action taken or action > omitted in reliance on it, is strictly prohibited and may be unlawful. If > you have received this communication in error, please notify us immediately > by replying to this message and destroy the material in its entirety, > whether in electronic or hard copy format. Thank you. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Keith Smith Engineer-Enterprise Sys Sr.-IT Capacity & Performance Shaw Industries Inc. Subsidiary of Berkshire Hathaway 616 E Walnut Ave Mail Drop 072-08 Dalton, GA 30721 Email: keith.sm...@shawinc.com Office: 706.532.3244 Please consider the environment before printing. -- ********************************************************** Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company or its subsidiaries. ********************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN