Or use sysvar('sysispf') - either ACTIVE or NOT ACTIVE.
Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck
“Worry more about your character than your reputation. Character is what you
are, reputation merely what others think you are.” - - - John Wooden
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Paul Gilmartin
Sent: Monday, February 6, 2023 8:54 AM
To: [email protected]
Subject: Re: Having a little difficulty with a REXX command LMOPEN
On Mon, 6 Feb 2023 04:48:09 +0000, Seymour J Metz <[email protected]> wrote:
>I would probably use ISPQRY, but your usage is shorter.
>
But does that require TSO? I wanted to be TSO-independent:
z/OS 2.5 ISPF Services Guide
IBM SC19-3626-50
Under TSO/E REXX that uses ADDRESS TSO you can use:
"ISPQRY"
(if it's a TSO command, shouldn't it be documented in the TSO COmmanf Ref.?)
________________________________________
From: Paul Gilmartin
Sent: Sunday, February 5, 2023 9:02 PM
> ...
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