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

Reply via email to