I would probably use ISPQRY, but your usage is shorter.
________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Paul Gilmartin <[email protected]>
Sent: Sunday, February 5, 2023 9:02 PM
To: [email protected]
Subject: Re: Having a little difficulty with a REXX command LMOPEN
On Mon, 6 Feb 2023 01:33:47 +0000, Seymour J Metz wrote:
>Are you sure you want to use say rather than, e.g., ADDRESS ISPEXEC DISPLAY
>'MSG(ISRZ002)'?
>
Thrtr are scripts intended to be bimodal where I have dome:
ADDRESS ISPEXEC DISPLAY 'MSG(ISRZ002)'
IF RC<>0 THEN DO /* ISPF not active. */
say errMsg1
say errMsg2; END
--
gil
----------------------------------------------------------------------
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