If you are in browse, you cannot issue edit macro commands. That's what the MACRO failure is telling you. Where did you get the idea that you could? Did you display isrlmsg?
Try view. That is why it's there, to let you execute a non-updating edit macros without creating an enqueue on the dataset/member. As an aside, never, ever use a VSAVE macro. You could overwrite someone else's changes. This is one of the reasons why ISPF exists. (See ComputerWorld article around that time that described the above problem with TSO EDIT, the line mode editor.) 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 Sun, Sep 7, 2025 at 11:41 AM Charles Mills <[email protected]> wrote: > On Sat, 6 Sep 2025 22:24:23 -0500, Paul Gilmartin <[email protected]> > wrote: > > >If there are no arguments, why bother with ISREDIT MACRO? > >ISPF apparently knows you're in a macro context. > > It does not. (Well, does ISPF "know" anything? What is the meaning of > knowledge? Do any of us really know anything? Perhaps I am a butterfly > dreaming I am a programmer. > https://i.etsystatic.com/5979412/r/il/65199a/5700087703/il_1140xN.5700087703_33u7.jpg > ) > > Seriously, the ISREDIT "stuff" fails without the ISREDIT MACRO preamble. > Specifically, I use the following to get the contents of the "cursor line" > and they fail without ISREDIT MACRO. > > Call Addr_ISP "ISREDIT (MYLINE, MYCOL) = CURSOR" > Call Addr_ISP "ISREDIT (USRLINE) = LINE &MYLINE" > > (Addr_ISP issues ADDRESS ISPEXEC and checks for errors.) > > Charles > > ---------------------------------------------------------------------- > 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
