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 <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Monday, February 6, 2023 8:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Having a little difficulty with a REXX command LMOPEN

On Mon, 6 Feb 2023 04:48:09 +0000, Seymour J Metz <sme...@gmu.edu> 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 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to