This is killing a fly with a sledge hammer, but maybe Exit 15: DISPLAY service exit?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Weizman arbel [[email protected]] Sent: Thursday, May 11, 2023 11:19 AM To: [email protected] Subject: Re: ispf , way to achieve the last ispf msgid from rexx >Have you looked at ZERRMSG, ZERRSM, and ZERRL? It takes an effect when there is an error/message And it doesn't return the last MSGID. MSGID Includes the last message code (code-id) for example: after save command Inside edit dataset the message is "Data set saved" the msgid="ISRE017 " I would like the message code "ISRE017 " On Thu, 11 May 2023 10:10:18 +0000, Seymour J Metz <[email protected]> wrote: >Have you looked at ZERRMSG, ZERRSM, and ZERRL? > > >-- >Shmuel (Seymour J.) Metz >http://mason.gmu.edu/~smetz3 > >________________________________________ >From: IBM Mainframe Discussion List [[email protected]] on behalf of >Weizman arbel [[email protected]] >Sent: Thursday, May 11, 2023 1:23 AM >To: [email protected] >Subject: ispf , way to achieve the last ispf msgid from rexx > >Hello , > >from rexx >Which command / way to achieve the last ispf msgid > >example: >The result of the command msgid >' The message ID of the last message was "ISRE017 " ' > >I would like to achieve the "ISRE017" >from rexx > > >thanks, > weizman > >---------------------------------------------------------------------- >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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
