ISPF compound variables would cause problems for CLIST, EXEC and EXEC2, but 
that might not be a bad thing. RFE?
________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, February 7, 2023 11:40 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF macro/script

On Tue, 7 Feb 2023 04:03:59 -0600, Willy Jensen wrote:
>    ...
> /* Insert template */
> s='Template line 1'
> "line_after .zl = (s)"
> s='Template line 2'
> "line_after .zl = (s)"
>
> and so on and so forth
>
For some chores similar to this it's a crying shame that ISPF shuns
compound symbols:
    /* Suppose the content to insert is in stem TemplateLine.  */
    do L = 1 to TemplateLine.0
        address ISREDIT "line_after .zl = (TemplateLine.L)"
        end L

--
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