Just taking a guess here: Most ISPF services run at the same task level as the invoking user program. I believe that EDIT (and View) run at a different task level, and therefore may not have access to the same parameter pointers.
OREXXMan Q: What do you call the residence of the ungulate with the largest antlers? A: A moose pad. :-D Would you rather pass data in move mode (*nix piping) or locate mode (Pipes) or via disk (JCL)? Why do you think you rarely see *nix commands with more than a dozen filters, while Pipelines specifications are commonly over 100s of stages, and 1000s of stages are not uncommon. REXX is the new C. On Mon, Feb 6, 2023 at 10:32 AM Paul Gilmartin < [email protected]> wrote: > On Mon, 6 Feb 2023 15:29:01 +0000, Seymour J Metz wrote: > > >It follows TSO command conventions, so in that sense it is a TSO command, > but it is in an ISPF library. > > > So 'ADDRESS TSO "ISPQRY"' fails if ISPF libraries are not allocated? > > Did you mean trimodal? > > By "bimodal" I meant ISPF vs. non-ISPF. There are numerous modes. I > start some scripts with: > ADDRESS ISREDIT MACRO X > IF RC<>0 THEN PARSE ARG X > > I feel that ISPF designers show contempt for REXX in eschewing REXX > facilitird such as > PARSE ARG, and especially compound symbols. > > ________________________________________ > From: Paul Gilmartin > Sent: Monday, February 6, 2023 9:53 AM > > On Mon, 6 Feb 2023 04:48:09 +0000, Seymour J Metz 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
